Here's some more math which is embedded in a LaTeX div but not in an article:
\[x + y \le 7\]
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Here's an entire LaTeX article embedded into the HTML page
\begin{eqnarray*}
x + y &\gt& 2\\
x + y &\lt& 2\\
x + y &=& 2
\end{eqnarray*}
\noindent As you can see, Eq.~\ref{greaterthan} shows that $x + y \gt 2$ and Eq.~\ref{lessthan} shows the opposite
\end{document}