I wonder if there is a framework or something else to display Math formula on a web page. Other than using images of those formulas...
Check out MathOverflow, which uses jsMath. Looks pretty good, but can take a few seconds to render everything.
There is MathML, which some of the newer browsers support. But as a fallback, you will need to use images.
A couple of developers from the Khan Academy released a blazing quick library based off of Tex called Katex:
Looks like a great modern option.
MathJax is the new version of jsMath. You might want to also check out jqmath at http://mathscribe.com/author/jqmath.html. I wrote it to be simple, small and fast.
Take a look at MathML, which has both presentation and content flavors.
MathML should be the standard way to do this, but it's not supported by all browsers. The newest Google Chart Tools have support for mathematical (TEX) formulas.