HTML <section> -Tag


Beispiel

Zwei Abschnitte in einem Dokument:

<section>
<h2>WWF History</h2>
<p>The World Wide Fund for Nature (WWF) is an international organization working on issues regarding the conservation, research and restoration of the environment, formerly named the World Wildlife Fund. WWF was founded in 1961.</p>
</section>

<section>
<h2>WWF's Symbol</h2>
<p>The Panda has become the symbol of WWF. The well-known panda logo of WWF originated from a panda named Chi Chi that was transferred from the Beijing Zoo to the London Zoo in the same year of the establishment of WWF.</p>
</section>

Definition und Verwendung

Das <section>Tag definiert einen Abschnitt in einem Dokument.


Browser-Unterstützung

Die Zahlen in der Tabelle geben die erste Browserversion an, die das Element vollständig unterstützt.

Element
<section> 5.0 9.0 4.0 5.0 11.5

Globale Attribute

Das <section>Tag unterstützt auch die globalen Attribute in HTML .


Ereignisattribute

Das <section>Tag unterstützt auch die Ereignisattribute in HTML .


Verwandte Seiten

HTML-DOM-Referenz: Abschnittsobjekt


Standard-CSS-Einstellungen

Die meisten Browser zeigen das <section>Element mit den folgenden Standardwerten an:

Beispiel

section {
  display: block;
}