What is the usage of comment? in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the usage of comment? in html

27th Feb 2016, 6:34 PM
مدیحہ حسن
مدیحہ حسن - avatar
6 Answers
+ 3
the point of commenting your code is to make your code readable for others. this way they know what's going on
9th Mar 2016, 5:12 AM
Michael Schwartz
Michael Schwartz - avatar
+ 2
To explain your code. Say you have multiple websites, and you go to your first one after ages. You might not know what you were doing or trying to do, so using a comment, you can explain it. It can also be read by anyone else through at the HTML.
31st May 2016, 11:17 AM
Matthew Devenish
Matthew Devenish - avatar
+ 1
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.
21st Mar 2016, 4:59 AM
Rhashunita Right
Rhashunita Right - avatar
+ 1
use of comment is help others to what is happening in the program easily
23rd Jun 2016, 6:23 AM
Prakhar kumar pandey
Prakhar kumar pandey - avatar
0
it is use as a note on your coding structure
17th Apr 2016, 12:33 PM
Marc Mawanay
0
It works like a Caption. You may say this in simple word.
3rd Jun 2016, 9:37 PM
Aarambh Pandey
Aarambh Pandey - avatar