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

<body>

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

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

</body>

</html>

 

Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....
https://web.facebook.com/groups/2066136233601097/