HTML tags have specialized tags that handle titles on the page. They are h1, h2, h3, h4, h5 and h6. Like feudal society, h1 is the almighty monarch and h6 is the lowest common people.
The main title is written in Here
Subtitle, write here
"http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
My first web page - jb51. net My first web page - jb51.net
This is What
A simple webpage composed of HTML
Purpose
Learn HTML
Note that the h1 tag can only be used once on a page - assuming it is the main title of this page, is it not? It should be used multiple times (equivalent to the title of an article, you can have a sub-title, but you wouldn’t use two parallel titles, right? - Translator’s Note jb51.net).
However, h2 to h6 can be used as many times as you need, but they should be used in order according to the design intent. For example, h4 should be a subheading of h3, h3 should be a subheading of h2, and so on.