1. \HCode{...}

This command allows only for the expansion of macros, before sending its content to the output. The instruction \Hnewline may be introduced there for requesting line breaks.

Two lines of text \ifHtml \HCode{<br />} \else \hrule \fi
separated by a horizontal line.
You probably don’t want a ‘<br>’.

2. \HPage{anchor}content\EndHPage{}

This command dedicates a hypertext page for the speciﬁed content, to be accessed through the given button.

The \ExitHPage{...} command may be employed within the content to create exit buttons.

...... ............
\HPage{in}
................
[\ExitHPage{out}]
................
\EndHPage{}
...................

3. \Link[target-ﬁle arguments]{target-loc}{cur-loc}anchor\EndLink

This command requests an anchor that links to ‘target-ﬁle#target-loc’, and marks the current location with the name ‘cur-loc’.

The component ‘[...]’ is optional when it is empty, and the target ﬁle need not be mentioned if it is created from the current source ﬁle.

\HPage{}
......................
\Link[http://www.tug.org/]{}{XX}\TeX{} Users Group
Home Page\EndLink
......................
\EndHPage{}
......................
\Link{XX}{}...\EndLink
The characters ‘~’, ‘_’, and ‘%’ can be indirectly included through the code ‘\string ~’, ‘\string _’, and ‘\%’, respectively.

4. \ifHtml...tex4ht code... \else...non tex4ht code... \fi (or \ifHtml\UnDef...non tex4ht code... \else...tex4ht code... \fi)

This command provides the means to conditionally provide content to the HTML and non-HTML modes. The \else is optional when the false part is empty.

5. \ifOption{...}{true-part}{false-part}