what is the use of comments in HTML?Is it important in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the use of comments in HTML?Is it important in HTML?

22nd Jun 2016, 12:58 PM
Preeti Singh
Preeti Singh - avatar
9 Answers
+ 3
documentation purpose for easy to understand and easy to find debug
22nd Jun 2016, 3:38 PM
gandhiyash
+ 2
comments makes easy to understand codes that what are you doing and it helps to remind you that in this line or set of lines what you do
23rd Jun 2016, 8:52 AM
Malik Moon
Malik Moon - avatar
+ 1
FOR DOCUMENTATION Porpuses
22nd Jun 2016, 1:53 PM
Buffee Ozburn
Buffee Ozburn - avatar
+ 1
it makes the code easy to understand and therefore update or edit. While it will function without comments it is strongly recommended and is good professional practice.
22nd Jun 2016, 11:24 PM
josh mizzi
josh mizzi - avatar
+ 1
it's for your reference
5th Jul 2016, 6:45 AM
Pradeep N
Pradeep N - avatar
+ 1
the only purpose behind is u can easily find the particular tag. cuz complete coding ke bad Bohot irritated lagta h koi Ek tag ko dhundhte raho. that's why it's good to use comments. :-)
19th Jul 2016, 7:36 AM
spidy
spidy - avatar
0
it use to understand what did u do in program and its helps to identity the error line easily
22nd Jun 2016, 3:12 PM
Ravi Shankar Kummi
Ravi Shankar Kummi - avatar
0
helps those who may carry on your work to understand what you were trying to achieve even in your absence
22nd Jun 2016, 6:46 PM
shaun khulani
shaun khulani - avatar
- 4
create a web page
22nd Jun 2016, 1:03 PM
Rithin Robert
Rithin Robert - avatar