Close this window

Using the <note> tag

Description

The 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 on.

Example

This CNXML:


<para id="acids">
  Chemistry lab was always a lot of fun. We played 
  with a lot of chemicals such as Sulfuric and 
  Hydrochloric acid. 
  <note type="warning" id="dangerous">
    Sulfuric and Hydrochloric Acid are very 
    dangerous. Please handle with caution.
  </note>
</para>
        

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.

Warning:

Sulfuric and Hydrochloric Acid are very dangerous. Please handle with caution.

Attributes(what's this?)

Children(what's this?)

label (one, optional), title (one, optional), para, term, cite, cite-title, foreign, emphasis, sub, sup, code (block display only), preformat, quote, note, list, media (block display only), footnote, link, newline, space, definition, example, figure, table, rule, equation, exercise, Unicode text

Parents(what's this?)

content, section, preformat, para, quote, footnote, note, item, example, problem, solution, commentary, meaning, statement, proof, entry, title, label, cite, cite-title, link, emphasis, term, sub, sup, foreign, code, caption, audio, flash, video, java-applet, image, labview, download
Close this window