note tag is used to add additional
information that is related to text in a CNXML document, which
you may want set apart from the current body of text. These
notes can be points of information, cautions, warnings, and so
Chemistry lab was always a lot of fun. We played
with a lot of chemicals such as Sulfuric and
<note type="warning" id="dangerous">
Sulfuric and Hydrochloric Acid are very
dangerous. Please handle with caution.
Results in this display:
Chemistry lab was always a lot of fun. We
played with a lot of chemicals such as
Sulfuric and Hydrochloric acid.
Sulfuric and Hydrochloric
Acid are very dangerous.
Please handle with caution.
- block - The note will be set apart from the surrounding text (default).
If the display attribute is set to "block" or is absent, then an id is required.
- inline - The note will be included in the current line of text.
- none - The note will not be displayed.
Defines the type of note in order to give specialized control over numbering.
Notes of the same type are numbered in series (i.e., Note 1, Rule 2...).
Type can be any user-defined value, but specially supported values ("note", "aside",
"warning", "tip", and "important") will auto-generate a label corresponding to that type.
id (optional for inline display notes):
A unique identifier, whose value must begin with a letter and contain only letters,
numbers, hyphens, underscores, colons, and/or periods (no spaces).
(one, optional), title
(one, optional), para
(block display only), preformat
(block display only), footnote
, Unicode text