A level 2 heading.
Text within level 2 headings is searched during index construction.
In addition to the following attributes, standard attributes may be defined on <h2> elements.
Attribute name | Description |
---|---|
toc | Include 'true' or exclude 'false' in the automatically generated table of contents. |
<h2> elements may contain text.
No element descendants are defined for the <h2> element.
Element name | Relation |
---|---|
<chapter> | The chapter containing the heading. |
<document xmlns="http://boradoc.org/1.0"> <chapter> <h2>A heading</h2> <para>A paragraph of text.</para> </chapter> </document>
The above BDML renders to the following:
A heading
A paragraph of text.