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.

Example:

<!-- start of p tag -->

<p>Welcome to Owlbuddy.com</p> 

<!-- end of p tag -->

Output:

Welcome to Owlbuddy.com



Spread the love:

Please share this page on social media with your friends..

Facebook share Twitter Linkedin share




Great News! Now you can read all the tutorials on our Android App..

Download Owlbuddy: Learn Programming Tutorials App Now.

Download Owlbuddy: Learn Programming Tutorials