Can you use // too for comment in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you use // too for comment in html?

25th Sep 2016, 12:32 AM
adrian
3 Answers
0
In HTML you can't use // for comment, you have to use <!-- some text --> for comment in HTML. // is used in JAVA programming language for comment.
29th Sep 2016, 6:38 AM
Rutu Gajjar
Rutu Gajjar - avatar
0
thanks!!
29th Sep 2016, 12:04 PM
adrian
0
For comment <!----------------- ----->
6th Oct 2016, 1:00 AM
Nonok Duski
Nonok Duski - avatar