<section> Tag Syntax

Rules for coding HTML section elements
<body>
   ...
   ... flow content expected ...
   <section>
      ... flow content ...
   </section>
   ...
</body>
  1. Inside an element where flow content is allowed, code one or more optional section elements.
  2. Begin each section element with a starting <section> tag. The element name uses lower case letters and should be in the HTML namespace, which it will pick up automatically from the xmlns attribute on the <html> tag.
  3. Include any HTML global attributes on the <section> tag as appropriate.
  4. End the section element with a matching </section> closing tag.
  5. Inside the section element, include any flow content as appropriate.

<section> Content Model

Content of the <section> Tag

The content of the section element can include HTML comments, text content and any tags that can be used in flow content.