WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML <section> Tag


Example

A section in a document, explaining what WWF is:

<section>
  <h1>WWF</h1>
  <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> 6.0 12.0 9.0 4.0 5.0 11.1


Default CSS Settings

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

Example

section {
    display: block;
}
Try it yourself »