0

What is the use of comments in html ?

3rd Oct 2016, 7:17 AM
Vijay laxmi Pachauri
Vijay laxmi Pachauri - avatar
2 Réponses
+ 1
Comments are used to put notes in your code so that the ones reading your code (including you) have an easier time understanding it. You can also use them to dummy out a block of code you want to be able to put back easily for example. Note: In HTML, the comments can be seen by clients looking at the source code, so don't put confidential info in there.
3rd Oct 2016, 9:29 AM
Zen
Zen - avatar
0
same as in other programming languages for better understanding of code for the other people and also for u r self...
4th Oct 2016, 5:45 PM
Darshan Komu
Darshan Komu - avatar