#Semantic Tags
- Semantic tags are self-explanatory tags.
- Semantic tags in HTML are designed to give meaning to the content they contain.
- Example:
<form>
,<table>
,<video>
,<audio>
are semantic tags, whereas<div>
,<span>
, etc., are non-semantic tags.
#Page Layout
It is the arrangement of visual elements on a webpage.
#Header Tag
- The Header semantic tag was introduced in HTML5.
- Header tag is used to represent the header or topmost part of a website where we have a logo and navigation links.
- It is a container tag.
- It is a block-level element.
#Nav Tag
- The Nav semantic tag was introduced in HTML5.
- All navigation links like home, contact us, services, etc., should be written within the Nav tag.
- It is a container tag.
- It is a block-level element.
#Section Tag
- The Section semantic tag was introduced in HTML5.
- Section tag is used to define sections in a webpage.
- It is a container tag.
- It is a block-level element.
#Article Tag
- The Article semantic tag was introduced in HTML5.
- Article tag is used to create divisions in a section tag.
- Here, we can write independent content.
- It is a container tag.
- It is a block-level element.
#Main Tag
- The Main semantic tag was introduced in HTML5.
- Main tag is used to define the main content of a webpage.
- The main content inside a section or article can be written within the main tag.
- It is a container tag.
- It is a block-level element.
#Aside Tag
- The Aside semantic tag was introduced in HTML5.
- The content which is not directly related to our website, like advertisements, should be written within the aside tag.
- It is a container tag.
- It is a block-level element.
#Footer Tag
- The Footer semantic tag was introduced in HTML5.
- Footer tag represents the footer/bottom part of a webpage or website.
- It is a container tag.
- It is block level element.