[BACK]Return to paragraph.out_html CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / mdoc / Rs

File: [cvsweb.bsd.lv] / mandoc / regress / mdoc / Rs / paragraph.out_html (download)

Revision 1.6, Wed Jul 6 14:35:07 2022 UTC (23 months, 1 week ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines

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>.

  <br/>
  initial reference: <cite class="Rs"><span class="RsA">author name</span>,
    <i class="RsB">book title</i>.</cite></p>
<p class="Pp">in a paragraph: <cite class="Rs"><span class="RsA">another
    author</span>, <i class="RsB">another book</i>.</cite></p>
</section>
<section class="Sh">
<h2 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h2>
<p class="Pp">initial reference:</p>
<p class="Pp"><cite class="Rs"><span class="RsA">author name</span>,
    <i class="RsB">book title</i>.</cite></p>
<p class="Pp">in a paragraph:</p>
<p class="Pp"><cite class="Rs"><span class="RsA">another author</span>,
    <i class="RsB">another book</i>.</cite></p>