<section>


HTML <section> Tag

Example

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>php中文网(php.cn)</title> 
</head>
<body>

<section>
  <h1>WWF</h1>
  <p>The World Wide Fund for Nature (WWF) is an international organization working on issues regarding the conservation, research and restoration of the environment, formerly named the World Wildlife Fund. WWF was founded in 1961.</p>
</section>

<section>
  <h1>WWF's Panda symbol</h1>
  <p>The Panda has become the symbol of WWF. The well-known panda logo of WWF originated from a panda named Chi Chi that was transferred from the Beijing Zoo to the London Zoo in the same year of the establishment of WWF.</p>
</section>

</body>
</html>

Run Example»

Click the "Run Instance" button to view the online instance


Browser support

1000.png

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

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


Tag definition and usage instructions

<section> tag defines a certain area of ​​the document. Such as chapters, headers, footers, or other areas of the document.


Differences between HTML 4.01 and HTML5

The<section> tag is a new tag in HTML5.


Global attributes

<section> tag supports HTML global attributes.


Event attributes

<section> tag supports HTML event attributes.