Logged In: NO

The problem with underlind text in pdf files is that the
underlines are not part of the font thay are vector graphics.

You have to use the pdftohtml -c option so that ghostscript
creates the background images.