English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The HTML <section> element represents an independent part within an HTML document that 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.
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 ‹/›
IEFirefoxOperaChromeSafari
IE 9+, Firefox, Opera, Chrome, and Safari <section> tag.
Note:IE 8 or earlier versions of IE browsers do not support <section> tag.
<section> tag defines a certain area of the document. For example, chapters, headers, footers, or other areas of the document.
<section> tag is usually used for thematic grouping of content.
For versions of IE earlier than 9IE browsers, please use HTML5shiv, a JavaScript solution that can provide support for new HTML5element supports, such as: <header>, <main>, <article>, <section>, <aside>, <nav>, <footer>.
<section> tag is an HTML5 and new tags.
Support for <section> tag Global attributes of HTML.
Support for <section> tag HTML event attributes.