Close this window

Using the <section> tag

Description

The section tag divides a document into sections, topics, subsections, or subtopics.

Example

This CNXML:


<section id="res">
  <title>Resistor</title> 
  <para id="para2">
 .
 .
 .
  </para>
</section>
<section id="cap">
  <title>Capacitor</title>
  <para id="para3">
 .
 .
 .
  </para>
</section>
<section id="ind">
  <title>Inductor</title>
  <para id="para4">
 .
 .
 .
  </para>
</section>
        

Results in this display:

Resistor

. . .

Capacitor

. . .

Inductor

. . .

Attributes(what's this?)

Children(what's this?)

label (one, optional), title (one, optional), para, code (block display only), section, definition, example, figure, preformat, quote, note, media (block display only), list, table, rule, equation, exercise

Parents(what's this?)

content, section, example, problem, solution, statement, proof
Close this window