X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

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 9.0 4.0 5.0 11.1


Differences Between HTML 4.01 and HTML5

The <section> tag is new in HTML5.


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 »



Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook