The Speed Coding

HTML <section> Tag


Example

Two sections in a 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>

Definition and Usage

The <section> tag defines a section in a document.


Browser Support

The numbers in the table specify the first browser version that fully supports the element.

Element
<section> 5.0 9.0 4.0 5.0 11.5

Global Attributes

The <section> tag also supports the Global Attributes in HTML.


Event Attributes

The <section> tag also supports the Event Attributes in HTML.


Related Pages

HTML DOM reference: Section Object


Default CSS Settings

Most browsers will display the <section> element with the following default values:

Example

section {
  display: block;
}