# TeX and LaTeX in HTML documents — MathJax documentation - use html tags latex

## Code listing - Overleaf, Online LaTeX Editor use html tags latex

The LaTeX expressions to insert would be \textless and \textgreater. To properly include HTML code I would suggest that you have a look into \ usepackage[T1]{fontenc} \begin{document} use T1 font.

I.e. I defined a language for listings using moredelim and morestring to handle the most basic syntax of XML and get the following results: enter image.

Inside of tag> is nested zero to many tags. handling a tag, html2latex must know what TeX string to replace the HTML tags with.