HTML Headings
HTML Headings
As we know headings are primarily used for defining content outlines. It also classifies the document and helps the user understand more about it.
Heading Levels
- < h1 >
- < h2 >
- < h3 >
- < h4 >
- < h5 >
- < h6 >
Explanation:-
- h1 is defined as the most important heading. Google also considers it essential and it is therefore a factor in SEO (Search Engine Optimization). It has the largest font size.
- h2 is the second most important heading. It is basically used for improving the overall structure of the webpage. It has the second-largest font size.
- h3 is the third most important heading and it helps in improving the overall structure of the webpage. It has the third-largest font size.
- h4 is the fourth most important heading and it helps in improving the overall structure of the webpage. It has the fourth-largest font size.
- h5 is the fifth most important heading and it helps in improving the overall structure of the webpage. It has the fifth-largest font size.
- h6 is the sixth most important heading and it helps in improving the overall structure of the webpage. It has the smallest font size as compared to the rest of the headings.
Code Explanation
All Tutorials related to HTML Basics
Headings
Horizontal Lines
Comments
The p Tag
Line Break
Multiple Line Breaks
Text Format
Elements
Attributes
Multiple Attributes
The img Tag
Ordered List
Unordered List
Tables
Table Properties
The a Tag
Block Elements
Inline Elements
HTML Forms
HTML Colors