English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML tag大全

HTML: <section> Tag

The HTML <section> element represents an independent part contained within an HTML document, which does not have a more specific semantic element to represent it. Generally, it will contain a title. This tag is also commonly referred to as the <section> element.

Online Example

Create a <section> tag:

!doctype html
<html>
<head>
<meta charset="UTF-8">
<title>HTML section tag usage (Basic Tutorial Website oldtoolbag.com)</title>
</head>
<body>
<section>
  <h1>Heading for Section</h1>
  <p>Text that appears under section</p>
</section>
</body>
</html>
Test and see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

IE 9+, Firefox, Opera, Chrome and Safari <section> tags.

Note:IE 8 or earlier versions of IE browsers do not support <section> tags.

Tag Description and Usage

<section> Tag defines a certain area of the document. For example, chapters, headers, footers, or other areas of the document.

<section> tags are usually used for grouping thematic content.

for IE versions earlier than 9IE browsers, please use HTML5shiv, a JavaScript solution that can provide support for new HTML5elements provide support, such as: <header>, <main>, <article>, <section>, <aside>, <nav>. <footer>.

HTML 4.01 with HTML5differences

<section> Tag is an HTML5 new tags.

Global Attributes

Support for <section> Tag Global Attributes of HTML.

Event Attributes

Support for <section> Tag HTML Event Attributes.