# [tex4ht] How to insert HTML code at any location in the generated HTML file?

Wed Jul 10 12:49:26 CEST 2013

On Wed, Jul 10, 2013 at 1:54 PM, Nasser M. Abbasi <nma at 12000.org> wrote:

> I am converting a latex document that I used to compile with
> latex2html to htlatex.
>

[...]

> What is the correct way to insert HTML code any where in
> the document, and have it show at that location in the HTML
> file? I have very large amount of HTML code that was inserted in
> that document.
>

You might use {verbatim} environment as in any LaTeX document.

\documentclass{article}

\begin{document}

\begin{verbatim}

any HTML code here

\end{verbatim}

\end{document}

Hope this helps.

Best regards
--