HTML <section> Tag

Description

The <section> HTML element is used to represent a section within an article.
Any given web page or article could have many sections. For example, a homepage could have a section for introducing the company, another section for news items, and another section for contact information.

Properties

Permitted Parents
Any element that accepts flow content. Note that a <section> element must not be a descendant of an <address> element
Content
Block, inline and text
Start/End Tags
Start tag: required, End tag: required

Example

<section>
<h3>WWW</h3>
<p>WWW stands for 'World Wide Web'</p>
</section>

Attributes

None

Global Attributes

The <section> tag also supports the Global Attributes in HTML5

Event Attributes

The <section> tag also supports the Event Attributes in HTML5

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
9125411.15
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYes411.14.2Yes

Last updated by CSSPortal on: 6th December 2019