Headings and Divisions

Headings

Headers can be used to create crude section and sub-section divisions in the document, or to define outliner levels. The heading elements, H1 to H6, hold title text with varying degrees of highlighting. H1 is the most important, and is typically used only for the title of the document (perhaps in conjunction with the Center element, described later). At the other extreme, H6 is the least important header, and should only be used when six levels of heading are necessary. Each header element is a block, separated from preceding and following objects, including paragraphs and other headers. Although no specific formatting style is indicated, typically the header elements are all displayed in bold typeface and the ...

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.