HTML Comments

In this tutorial, we will learn about HTML Comments. HTML comments are not to design we page they are just for the convenience web designer. Because when we design web page there may be several elements in our web page. So to keep it remember the use of each element in our web page we add comments. Lets check HTML Comments with the help of an example.

To add a comment on the web page you have to use special symbols in your code. To understand it clearly check this example.


<!-- start of p tag -->

<p>Welcome to</p> 

<!-- end of p tag -->


Welcome to

Spread the love
Scroll to Top