emit valid html:

Not closed div, <a> don't have alt but title, chrome frame has been
closed for at least a year, IE shoudl use edge mode. div cannot embed
span.
just indent everythin twice
do not try to fix mathjax URl
Merge pull request #7177 from Carreau/valid-html

Valid html