Html Section Article
An article should make sense on its own and it should be possible to distribute it independently from the rest of the site.
Html section article. A section is a thematic grouping of content typically with a heading a web page could normally be split into sections for introduction content and contact information. The article tag specifies independent self contained content. A forum post a magazine or newspaper article or a blog entry.
Section section contents section. The html article element represents a self contained composition in a document page application or site which is intended to be independently distributable or reusable e g in syndication. The document outline algorithm is a way to use only one heading tag h1 and have it magically become the correct level of heading e g.
However this section of content should additionally be self contained. Section tag grouped the generic block of related contents. The article tag is one of the new semantic elements introduced with html5.
Article is also block level but article refers to an individual blog post a comment of a webpage. Article and section are both semantic elements of html5. The article element is even more specific than a section.
Typically but not always sections have a heading. The section tag is used when requirements of two headers or footers or any other section of documents needed. Section is block level generic section of a webpage but relevant to our webpage content.
Here is a brief explanation of each sectioning element and how they are used. Both article and section should include an heading elements h2 h6. For example a magazine or newspaper article or a blog entry.