Section Class Html
The section tag defines a section in a document.
Section class html. Nav equivalent to role navigation. The html class attribute is used to specify a class for an html element. The section tag is used when requirements of two headers or footers or any other section of documents needed.
Here is a brief explanation of each sectioning element and how they are used. Html section tag. Body is also kind of a sectioning element since all content lying inside of it is part of the default document section.
If a part of the content deserves its own heading and that heading would be listed in a theoretical or actual table of contents it should be placed in a section. The sectioning elements in html5 are nav aside article and section. Section tag grouped the generic block of related contents.
Section is a new html 5 element that defines an important section of a document. It can be used within articles in the header or footer or to define navigation. The section tag divides the content into section and subsections.
Typically but not always sections have a heading. The html section element represents a standalone section which doesn t have a more specific semantic element to represent it contained within an html document.