Close this window

Using the <item> tag

Description

The item tag is used to specify an item of a list. It appears only as the child of list tags.

Example

This CNXML:


<list id='forces-list'>
  <title>Four fundamental forces</title>
  <item>Electromagnetism</item> 
  <item>Gravity</item> 
  <item>Strong nuclear force</item>
  <item>Weak nuclear force</item>
</list>
        

Results in this display:

Four fundamental forces

Attributes(what's this?)

Children(what's this?)

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

Parents(what's this?)

list
Close this window