Balise HTML <section>


Exemple

Deux sections dans un document :

<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>

Définition et utilisation

La <section>balise définit une section dans un document.


Prise en charge du navigateur

Les nombres dans le tableau indiquent la première version du navigateur qui prend entièrement en charge l'élément.

Element
<section> 5.0 9.0 4.0 5.0 11.5

Attributs globaux

La <section>balise prend également en charge les attributs globaux en HTML .


Attributs d'événement

La <section>balise prend également en charge les attributs d'événement en HTML .


Pages connexes

Référence HTML DOM : objet de section


Paramètres CSS par défaut

La plupart des navigateurs afficheront l' <section>élément avec les valeurs par défaut suivantes :

Exemple

section {
  display: block;
}