Logo
HTMLCSSJavaScriptReactjsnewContactUpdates

Get started today

HTMLCSSJavaScriptReactjsnewContactUpdates

Tools

Resume BuilderQR GeneratorVS Code Editor

Connect

GitHubWhatsApp Channel
details and summary tag
html5 attributes

HTML Semantic Tags

By Saket Bhatnagar•June 13, 2025•Beginner to Intermediate

Table of Contents

  1. semantic tags
  2. Page Layout
  3. Header Tag
  4. Nav Tag
  5. Section Tag
  6. Article Tag
  7. Main Tag
  8. Aside Tag
  9. Footer Tag

semantic tags

  1. 1Semantic tags are self explanatory tags.
  2. 2Semantic tags in HTML are designed to give meaning to the content they contain.
  3. 3Example:- <form> , <table>, <video>, <audio>, etc are semantic tags whereas <ol>,<tr>,<td>,etc are non semantic tags.

Page Layout

  1. 1It is the arrangement of visual elements on a webpage.

Header Tag

  1. 1The Header semantic tag was introduced in Html5.
  2. 2Header tag is used to represent the header or topmost part of a website where we have logo and navigation links.
  3. 3It is a container tag
  4. 4It is block level element.

Nav Tag

  1. 1The Nav semantic tag was introduced in Html5.
  2. 2All navigation links like home link, contact us, services, etc, should be written within the Nav tag.
  3. 3It is a container tag
  4. 4It is block level element.

Section Tag

  1. 1The Section semantic tag was introduced in Html5.
  2. 2Section tag is used to define sections in a web page.
  3. 3It is a container tag
  4. 4It is block level element.

Article Tag

  1. 1The Article semantic tag was introduced in Html5.
  2. 2Article tag is used to create divisions in section tag.
  3. 3Here, we can write independent content.
  4. 4It is a container tag
  5. 5It is block level element.

Main Tag

  1. 1The Main semantic tag was introduced in Html5.
  2. 2Main tag is used to define the main content of a web page.
  3. 3The main content inside a section or article can be written within the main tag.
  4. 4It is a container tag
  5. 5It is block level element.

Aside Tag

  1. 1The Aside semantic tag was introduced in Html5.
  2. 2The content which is not directly related to our website like advertisements should be written within the aside tag.
  3. 3It is a container tag
  4. 4It is block level element.

Footer Tag

  1. 1The Footer semantic tag was introduced in Html5.
  2. 2Footer tag represents the footer/ bottom part of a web page or website.
  3. 3It is a container tag
  4. 4It is block level element.

Share this article

Last updated: July 13, 2025

Join Our Community

Login to Join

© 2025 Saket Bhatnagar. All rights reserved.

    ☕