HTML Tutorial - HTML Comments


The Comment Tag if used in the HTML code the internet browser will ignore and will not showup in the webpage. It will be a good practice to comment your HTML code to give better understanding of the HTML Code. Also, can comment HTML code if you need for later use.

HTML Example for Comment Tag
Source: Result:



HTML Multiline Comments


If you need to comment many line of text in HTML code, use <!-- and --> at the beginning and the ending of the text needed to be commented.

Example:
<!-- This is an example for multiline comments and
can be used to comment as many lines needed -->