Note that in HTML the < and > are inescapable unless their
content is not recognizable (if incomprehensible then print it
literally, just as in TeX, "backslash unknown" prints that.
Hence, we trick HTML by using the "ampersand identifier semicolon"
syntax as below.
< div class="literalblock" >
< div class="content" >
< pre >
< tt >
e^πi^+1 = 0. H~2~O and x^10^. Some ^super text^
and \~some sub text\~ except that the tildes around "some sub text"
don't make it if the div is still inside lttml because of the LaTeX
space meaning. On the other hand, escaping the tilde
</tt>
</pre>
< /div>
< /div>
I think that mixing HTML with TeX is not good for writing about
either languange, but is good for making web readable geometrical
documents.
\end{document}