title tag is used to insert an optional label or
title for a CNXML object such as a section,
list,
exercise, para, or other elements where titles may be appropriate.
Note: The title element replaces the now-deprecated name element beginning with CNXML 0.6.
This CNXML:
<list id="groceries">
<title>Grocery List</title>
<item>Milk</item>
<item>Eggs</item>
<item>Sugar</item>
</list>
Results in this display:
This CNXML:
<section id="intro">
<title>An Introduction to CNXML</title>
<para id="cnxml">
<title>Part 1</title>
This paragraph presents a brief introduction
to a customized version of XML called CNXML.
</section>
</section>
Results in this display:
This paragraph presents a brief introduction to a customized version of XML called CNXML.