Note
A note is information that expands on or calls attention to a particular point.
Syntax
- XDITA
<note>
- HDITA
<div data-class="note">
- MDITA (core and extended profiles)
There is no specific markup for note in MDITA
Usage information
The nature of a note (for example,
caution, danger, or warning) is indicated through the values
selected for the @type
attribute.
Rendering expectations
Processors SHOULD render a
label for notes. The content of the label depends on the values of
the @type
attribute.
A note is typically rendered in a way that stands out from the surrounding content.
Attributes
The available attributes vary based on the authoring format:
- XDITA
- The following attributes are available on this element: ID
attributes, localization attributes,
universal
attributes,
@props
, and the additional attribute listed below. - HDITA
- The following attributes are available on this element: ID
attributes, localization attributes,
universal
attributes,
@props
, and the additional attribute listed below. - MDITA
- There is no attribute support for the MDITA core profile. For the MDITA extended profile, attributes can be specified by using the HDITA representation.
For XDITA and HDITA, the following additional attribute is also available:
@type
- Specifies the type of a note. This
differs from the
@type
attribute on many other DITA elements. The following are the allowable values:- caution
- danger
- note
- notice
- trouble
- warning
Examples
This section is non-normative.