What is Comment Tag in HTML & how works ?

Comment tag

Comment Tag in HTML :

Comment tags <!– and –> are used to insert comments in HTML. This Tag (<!–  –>) can be use for multiple lines.

Example:

<!–

Hello World !!

How are you !!

–>


 

Comments will not displayed on browsers, but too much benefit of this tag, through this tag you can reminder your other tags and programming. For explanation about programming you can use this tag for further reminder. Comments help your code and increases code readability.

This Comment tag supports all browsers like Google Chrome, Firefox, Safari, Internet Explorer, opera etc.

For any question regarding comment tag, you can submit below comment box, we always happy to serve you !!

Yogesh Khanna

onTime IT Solution always happy to serve you in Information Technology (IT). Learn HTML, CSS, Javascript, PHP, Android, Digital Marketing, Latest IT News and many more.

One thought on “What is Comment Tag in HTML & how works ?

  • December 30, 2015 at 5:22 pm
    Permalink

    Nice… its very helpful..

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *