The \htmladdimg command is used to display an image stored in an
external file.
Its form is:
\htmladdimg{<URL>}
where the URL is the hypertext address of the image (probably just
the name of an image.gif file in the default directory).
It is tempting to use this command to replace existing figures with better colour graphics. However, you cannot use this command inside a figure environment. Instead, you should use something like:
\begin{latexonly}
\begin{figure}
\label{This figure}
body of figure
\caption{Latex eps version}
\end{figure}
\end{latexonly}
\begin{htmlonly}
\label{This figure}
\htmladdimg{figure_replacement.gif}
Figure: HTML replacement
\end{htmlonly}
However, you will not get a figure number in the caption.
Star2HTML Converting Starlink Documents to Hypertext