Html H1 Tag

In the Html <h1> tag is used to indicate level 1 for heading. Which head tag have to six levels that is <h1> - <h6> .h1 is a most important and h6 is a least important.

Html <h1> tag is used to describe html heading and which browser supported in all main browsers. <h1> tag standard attributes are classname, rtl, id, language_code, style_definition and xml:lang and optional attributes are left, right ,center and justify.

Syntax:

<h1> ... </h1>

Example Code

<!DOCTYPE HTML>
<h1>Level 1 Heading Tag </h1>

Out Put :



Level 1 Heading Tag

In the above example h1 tag have been added to Level 1 Heading Tag Sentence.





Content