What is use of <!--.....--> in html?? Plzzz give me an example based on it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is use of <!--.....--> in html?? Plzzz give me an example based on it

<!-->

8th Jan 2018, 2:48 AM
Ninad Patil
Ninad Patil - avatar
4 Answers
+ 20
The comment tag is used to insert comments in the source code. Comments are not displayed in the browsers. You can use comments to explain your code, which can help you when you edit the source code at a later date. This is especially useful if you have a lot of code. Explanation and example: https://www.w3schools.com/TAGS/tag_comment.asp
8th Jan 2018, 2:59 AM
NezhnyjVampir
+ 2
It is comment, it is explained on the last page of this lesson: https://www.sololearn.com/learn/HTML/1027/
8th Jan 2018, 2:58 AM
Paul
Paul - avatar
+ 2
the comment tag in html if you use this is html file like <!--i love sololearn--> this part is not show in web page this is comment for who read your code
8th Jan 2018, 4:03 AM
Kunal Kumar
Kunal Kumar - avatar
0
thanks guys
8th Jan 2018, 6:01 AM
Ninad Patil
Ninad Patil - avatar