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">
  <name>Resistor</name> 
  <para id="para2">
  .
  .
  .
  </para>
</section>
<section id="cap">
  <name>Capacitor</name>
  <para id="para3">
  .
  .
  .
  </para>
</section>
<section id="ind">
  <name>Inductor</name>
  <para id="para4">
  .
  .
  .
  <para>
</section>
	
Results in this display:

Resistor

. . .

Capacitator

. . .

Inductor

. . .
Attributes (what's this?)
Children (what's this?)name (one, optional), example, para, code, section, definition, rule, figure, media, table, list, exercise, equation, note
Parents (what's this?)content, section, example, meaning, proof, statement, problem, solution
Close this window