I dont understand the <!--comment--> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I dont understand the <!--comment-->

24th Jul 2020, 3:52 PM
Megida Kristen
Megida Kristen - avatar
2 Answers
+ 2
It's the syntax to use if you want to add comments into your HTML document. If you would put them plain text without this surrounding tag into the HTML file, it would be displayed on the web page (what's obviously unwanted).
24th Jul 2020, 3:57 PM
Sandra Meyer
Sandra Meyer - avatar