What is <h1> </h1>

What is

?? When is it used and what is it used for? I saw it once at the very beginning of the lesson for html, but I don’t recall it really explaining what it is. It just kind of goes straight into and so on.

Any document starts with a heading.
In html <h1> tags are used to define heading.There are six levels of headings.

<h1> , <h2>, <h3>, <h4>, <h5>, <h6>

<h1> defines the most important heading.Higher heading numbers mean the content that appears between the headings is less important than lower numbers.

generally speaking, if you are writing a document about a company then the company name goes in the <h1> and others subjects in <h2> , <h3> so on.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.