The main purpose of this article is to present the various HTML5 elements that you can use in an HTML document structure for styling blocks. As you may notice, many web sites contain HTML code like:
used to indicate navigation, header, and footer. HTML5 offers new semantic elements to define different parts of a web page: tag defines sections in a document, like headers, footers, chapters, or any other sections of the document. tag is related to the tag, but the specifies independent, individual content , such as individual blog posts, videos, images or news items, comment, while tag is used for grouping distinct sections of content or functionality. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site.
and
The new HTML5 elements we will cover in this article are:
: contains the header content of a site. : specifies independent, individual content, such as individual blog posts, videos, images or news items. : The element is a structural HTML element used to group together related elements, like headers, footers, chapters, or any other sections of the document.
Typical Page Structure
As you probably noticed, websites generally have vastly different content, functionality, and look and feel, but they all have common elements, as you can see from the figure below:
- Header (or masthead) at the top of the page, usually containing the company name and logo. This is the top of the page and in general, says what website is, some description, and who owns it.
- Navigation menu used for navigating between pages or down the page. This is placed under the header, often put in a sidebar, or may be form part of the header.
- One or more sidebars (placed in right or left of the main content of the page), containing some links, in general, that are related to the current page main content, related to the other pages from the website or from the outside of the website. The sidebar/sidebars may differ from one page to the other, (for example: “your basket” information on an e-commerce site, or some filters during on a shopping item, like colors, sizes, price filter, material etc).
- A footer that is placed at the bottom of the site and contains subsidiary information such as copyright information and contact details.

Let’s have a look at some of the HTML5 elements in more detail.
The
<section>
<h2>Head</h2>
<p>Some text</p>
<img src="figure.jpg" alt="figure">
</section>The
<article>
<h2>Head</h2>
<p>Some text</p>
<img src="figure.jpg" alt="figure">
</article> and
As we said earlier, the purpose of the