HTML <section> Tag


Voorbeeld

Twee afdelings in 'n 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>

Definisie en gebruik

Die <section>merker definieer 'n afdeling in 'n dokument.


Blaaierondersteuning

Die nommers in die tabel spesifiseer die eerste blaaierweergawe wat die element ten volle ondersteun.

Element
<section> 5.0 9.0 4.0 5.0 11.5

Globale eienskappe

Die <section>merker ondersteun ook die Global Attributes in HTML .


Gebeurtenis eienskappe

Die <section>merker ondersteun ook die gebeurteniskenmerke in HTML .


Verwante bladsye

HTML DOM verwysing: Section Object


Verstek CSS-instellings

Die meeste blaaiers sal die <section>element met die volgende verstekwaardes vertoon:

Voorbeeld

section {
  display: block;
}