Html Sections

It does not refer to the main content alone and can be used for comments and widgets.
Html sections. Section tag defines the section of documents such as chapters headers footers or any other sections. Html article element article defines a piece of self contained content. It can be used within articles in the header or footer or to define navigation.
An internal css is used to define a style for a single html page. According to w3c s html documentation. The following example sets the text color of all the h1 elements on that page to blue and the text color of all the p elements to red.
The sectioning elements in html5 are nav aside article and section. The section tag also supports the event attributes in html. An internal css is defined in the head section of an html page within a style element.
Typically but not always sections have a heading. Header defines a header for a document or a section. Here is a brief explanation of each sectioning element and how they are used.
The section tag divides the content into section and subsections. Html section element section defines a section of a document to indicate a related grouping of semantic meaning. Section tag grouped the generic block of related contents.
Nav defines a set of navigation links. Body is also kind of a sectioning element since all content lying inside of it is part of the default document section. 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.