HTML Comments

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”> –>


Coding Tag

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

Leave a Reply

avatar
  Subscribe  
Notify of