Home Html Heading How to write Html Headings and Comment
How to write Html Headings and Comment

HTML Heading

In Html heading define by using <h1> to <h6> tags. <h1> is the largest heading where as <h2> is the smallest. Browsers add empty lines before and after the heading. H1 is the main heading then H2 then less important H3 and so on.
Headings can be written like this:

<h1>This is Heading H1</h1>
<h2>This is Heading H2</h2>
<h3>This is Heading H3</h3>
<h4>This is Heading H4</h4>
<h5>This is Heading H5</h5>
<h6>This is Heading H6</h6>

This will be the result

This is Heading H1


This is Heading H2


This is Heading H3


This is Heading H4


This is Heading H5

This is Heading H6

HTML Comment

You can define comment as a non executable statement means it is readable for developer but not shown or displayed by the browsers.

You can insert Comment in html by using following code:

<! -- This is a comment -->
 

Featured Articles

Adobe Illustrator
  Adobe IllustratorLearn drawing technique, text effect, 3D graphic & more refer Illustrator Tutorial.
Adobe Dreamweaver
Adobe Dreamweaver If you want to learn to design website learn through our Dreamweaver Tutorial.
CSS (Cascading Style Sheets)
Css Save your time for website designing and speed up your work by using CSS.