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

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.