HTML Comments

What are the comments?

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

Why do we comment the code?

We comment on 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 paragraph   −−>




Video Lecture

Add a Comment