In this illustration we will inform you about the use and implementation of <h2> tag in html5. The <h2> tag is used to specify the header of level2. 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 <h2> tag and closing </h2> tag. This tag can not be used after the <address> tag.
The syntax is as follows:
<title>Example of h2 Tag</title>
We work on java technology
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.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.