[BACK]Return to vert.out_html CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / man / TP

File: [cvsweb.bsd.lv] / mandoc / regress / man / TP / vert.out_html (download)

Revision 1.4, Wed Jul 6 14:35:04 2022 UTC (23 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 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>.

</section>
<section class="Sh">
<h2 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h2>
<dl class="Bl-tag">
  <dt id="tag"><a class="permalink" href="#tag">tag</a></dt>
  <dd>text</dd>
  <dt id="tag~2"><a class="permalink" href="#tag~2">tag</a></dt>
  <dd>text</dd>
</dl>