HTML Comments
0 5103
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 within <!- .... -> tags will be used as a comment and will be fully ignored by the web browser.
HTML 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:
Comments
Waiting for your comments