Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML <section> Tag


Example

A section in a document, explaining what WWF is:

<section>
  <h2>WWF</h2>
  <p>The World Wide Fund for Nature (WWF) is....</p>
</section>
Try it Yourself »

Definition and Usage

The <section> tag defines sections in a document, such as chapters, headers, footers, or any other sections of the 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;
}
Try it Yourself »