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
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>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de