HTML <h1> to <h6> tags
HTML <h1> to <h6> tag
The <h1>
to <h6>
tags are used to specify the HTML headings.
The <h1>
tag is the most important heading and the <h6>
tag is the least important heading.
Example
HTML Online Editor
<!DOCTYPE html>
<html>
<body>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</body>
</html>
Attributes
There is no special attributes for <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tag. Only Global attributes.
SEO
The <h1>
tag is limited to 1 per web page.
Reminder
Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in HTML.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.