Return to literal.out_html CVS log | Up to [cvsweb.bsd.lv] / mandoc / regress / man / IP |
File: [cvsweb.bsd.lv] / mandoc / regress / man / IP / literal.out_html (download)
Revision 1.8, Wed Jul 6 14:35:00 2022 UTC (2 years, 2 months ago) by schwarze
While the HTML standard allows multiple <h1> elements in the same document, <h1> is intended for top level headers, and most of the sections in a manual page can hardly be considered top-level. It is more usual to use <h1> only for the main title of the document of for the site name. Consequently, move .Sh/.SH from <h1> to <h2> and .Ss/.SS from <h2> to <h3>, freeing <h1> for use by header.html in man.cgi(8). Discussed with Anna Vyalkova <cyber at sysrq dot in>. |
<dl class="Bl-tag"> <dt id="tag"><a class="permalink" href="#tag">tag</a></dt> <dd>indented regular text</dd> </dl> <p class="Pp">new regular paragraph</p> <pre>literal text</pre> <dl class="Bl-tag"> <dt id="tag~2"><a class="permalink" href="#tag~2">tag</a></dt> <dd> <pre>indented literal text</pre> </dd> </dl> <pre>new literal paragraph</pre> regular text <section class="Ss"> <h3 class="Ss" id="literal_into_indented_paragraph"><a class="permalink" href="#literal_into_indented_paragraph">literal into indented paragraph</a></h3> <p class="Pp">regular text</p> <pre>literal text</pre> <dl class="Bl-tag"> <dt id="tag~3"><a class="permalink" href="#tag~3">tag</a></dt> <dd> <pre>indented literal text</pre> indented regular text</dd> </dl> <p class="Pp">new regular paragraph</p> </section> <section class="Ss"> <h3 class="Ss" id="literal_out_of_indented_paragraph"><a class="permalink" href="#literal_out_of_indented_paragraph">literal out of indented paragraph</a></h3> <p class="Pp">regular text</p> <dl class="Bl-tag"> <dt id="tag~4"><a class="permalink" href="#tag~4">tag</a></dt> <dd>indented regular text <pre>indented literal text</pre> </dd> </dl> <pre>new literal paragraph</pre> regular text <br/>