<section> Tag Syntax
Rules for coding HTML section elements
<body>
...
... flow content expected ...
<section>
... flow content ...
</section>
...
</body>
- Inside an element where flow content is allowed, code one or more optional section elements.
- 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
xmlnsattribute on the <html> tag. - Include any HTML global attributes on the <section> tag as appropriate.
- End the section element with a matching
</section>closing tag. - 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.