Defining Sections in HTML5
16 / 09 / 2015
All content lying inside the element is part of a section. Sections in HTML5 can be nested. Beside the main section, defined by the
element, section limits are defined either explicitly or implicitly. Explicitly-defined sections are the content within
,
,
,
, and
tags.
Note: Each section can have its own heading hierarchy. Therefore, even a nested section can have an <h1>
. See Defining Headings in HTML5.
Example: