XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / section

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

section

HTML 5

<section> ... </section>

Marks a section, a thematic grouping of content, within a document or application, with its own internal scope and optional header and footer. The section element is not a generic container, such as div. It should only be used when the element’s content should appear in the document outline.

Notes

HTML 5 only.

Start/end tag

Required/required

Attributes

Global HTML 5 attributes

  • cite="Text"

    Contains a link to information about the author or source of the section.

Example

<body>
<article>
<h1>Vögel</h1>
<section>
  <h1>Kapitel 1: Kolibris</h1>
  <p>Ein paar Fakten über Kolibris.</p>
</section>
<section>
  <h1>Kapitel 2: Truthähne</h1>
  <p>Dieser Abschnitt befasst sich mit Truthähnen.</p>
</section>
</article>
</body>

 

> back to the alphabetical list of elements

   

 

 

 

back to top