HTML Comments

Download This Tutorial in PDF

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  −−>
<html>

<body>

<p>welcome to T4Tutorials.com</p>

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

</body>

</html>

 

Video Lecture

Subscribe for Friendship

Latest posts by Prof. Fazal Rehman Shamil (see all)

Buy advertisement space on T4Tutorials

For more details email [email protected]