HTML Comments

by Yogesh Khanna 29-Jun-16

0 1002


The comment is a part of code, which is overlooked by any web browser. It is a great practice to put comments into the HTML code, especially in the intricate documents, to show sections of a document, and add any other notes to anyone looking at the code. With the help of comments, anyone can understand your code easily and improve the code readability.

HTML comments are added in between <!- .... -> tags. So any content placed with-in <!- .... -> tags will be used as a comment and will be fully ignored by the web browser.

Comment Tags

start with <!-

end with ->

<!- Write your comments here ->

<!- Do not display this img in browser

<img src="image_name.jpg" title="Image Title">

->


Share:


Discount Coupons



Comments

    Waiting for your comments

Leave a Reply