The appearance of arguments can be improved in HTML by using an HTML table. The command line argument -defn htmlargtbl.def will cause a table to be used in HTML mode for argument lists that begin with + and end with -.
You can also completely control the type of HTML that is generated.
doctext uses definition files that define what HTML is produced for
each doctext command. These files, for HTML, are html.def in
the directories specified by TEXTFILT_PATH (for basic operations) and
DOCTEXT_PATH (for doctext-specific operations). These are defined when
doctext is built; the defaults are /usr/local/share and
/usr/local/share/doctext. You can override any
of these definitions by creating your own file and specifying it with the
-defn filename argument. In addition, you can prepend or postpend your
own commands to the predefined commands. For example, to add an index link to
the bottom of every page, put the following definition in a file:
+eop %n<BR><A HREF="http://www.mcs.anl.gov/myindex">Index</A>This says to prepend (the + is before the end-of-page command eop) the HTML code given. The %n generates a newline. Placeing a + after the commands postpends the definition.