HTML5 h4 tag, Introduction to <h4> tag in html5


 

HTML5 h4 tag, Introduction to <h4> tag in html5

In this illustration we will inform you about the use and implementation of <h4> tag in html5. The <h4> tag is used to specify the header of level4.

In this illustration we will inform you about the use and implementation of <h4> tag in html5. The <h4> tag is used to specify the header of level4.

HTML5 h4 tag, Introduction to <h4> tag in html5

In this illustration we will inform you about the use and implementation of <h4> tag in html5. The <h4> tag is used to specify the header of level4. HTML5 have 6 levels of header (<h1> to <h6>). The importance of header is that it is decreases from h1 to h6. The each header is specific to the font and size of the text.  This tag must have opening <h4> tag and closing </h4> tag. This tag can not be used after the <address> tag.

Declaration Syntax:

 The syntax is as follows:

<h4>Heading Text</h4>

Example:h1_tag.html

<!DOCTYPE html>
<html>
  <head>
      <title>Example of h4 Tag</title>
  </head>
<body>
    <h4>
         Roseindia:
         We work on java technology
     </h4>
</body> 
</html>

Output:

 

Download This Example:

Difference between html4.01 and html5:

This tag don't have specific attribute. The "align" attribute is not supported in html5 instead of it we should use css.

Ads