HTML Comments

What are comments?

Comments are just like verbs or phrases or some kind of representation of someone opinion.

Why we comment the code?

We comment the code to increase the readability and understandability of the code. The code has no effect on the output of the program. 

Example of comments in HTML:

  <!−− this is comment, you can put comment here  −−>


<p>welcome to</p>

<!−− p is used for paragraoh   −−>