HTML comment

Comment in our html page, plays an important role for the learners to understand the meaning of particular tag.
Let's take an example.

<html>          <!--called root tag-->
    <head>      <!--contains meta information of page-->
        <title><!--contains title of page-->
        html css
    <body style="background-color:honeydew;">
    <!--body tag with style and value-->
    <h2 style="color:blueviolet;"> page in html</h2>
    <!--applying style with property and value-->
    <h1>this is heading</h1>
    <!--this is comment of heading-->
on right side of line, we can see written <!--comments-->, it is called comment. 

1 comment: