+ 1

What is the use of comments in html.

In html the comments are not shown on the output and they also did make any changes to the output but whenever I html code by and programmer it always use comment in his/her html code.

15th Jun 2017, 2:29 PM
Rohan Bhardwaj
Rohan Bhardwaj - avatar
5 odpowiedzi
+ 13
They are supposed to help you understand the code...
15th Jun 2017, 2:30 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
You write today your code. You upload it on the Web. Some months later you have to make a change. Or your company gives it to another developer to make the change. By writing comments it will be very easy. Otherwise you will lose time. Which is equal to money.
15th Jun 2017, 2:50 PM
Elias Papachristos
Elias Papachristos - avatar
+ 3
for the better understanding for you and for the others .....
15th Jun 2017, 3:29 PM
#Happy@777
#Happy@777 - avatar
+ 1
It also helps others understand whats what if they need to work on your code.
15th Jun 2017, 2:38 PM
Leon D
Leon D - avatar
+ 1
it makes the code user friendly
28th Jun 2017, 1:48 PM
Mukul Goel
Mukul Goel - avatar