Next: , Up: Generating HTML


22.1 HTML Translation

makeinfo will include segments of Texinfo source between @ifhtml and @end ifhtml in the HTML output (but not any of the other conditionals, by default). Source between @html and @end html is passed without change to the output (i.e., suppressing the normal escaping of input `<', `>' and `&' characters which have special significance in HTML). See Conditional Commands.

The --footnote-style option is currently ignored for HTML output; footnotes are always linked to the end of the output file.

By default, a navigation bar is inserted at the start of each node, analogous to Info output. The `--no-headers' option suppresses this if used with `--no-split'. Header <link> elements in split output can support info-like navigation with browsers like Lynx and Emacs W3 which implement this HTML 1.0 feature.

The HTML generated is mostly standard (i.e., HTML 2.0, RFC-1866). One exception is that HTML 3.2 tables are generated from the @multitable command, but tagged to degrade as well as possible in browsers without table support. The HTML 4 `lang' attribute on the `<html>' attribute is also used. (Please report output from an error-free run of makeinfo which has browser portability problems as a bug.)