+ 2

why comments on html?

if the browser does not shows the comment so why should we write that or use the code in html?i dont understand!!!!!

30th Jun 2018, 5:59 PM
Tareq Rahman
Tareq Rahman - avatar
3 Respuestas
+ 4
Hi Tareq Rahman Comments are used in all languages. Comments are used for the person who writes the code and other people who will see the code Comments can be used as a reminder to yourself what the code does or be a summary of what it will show. Also can tell others what your code does. They can be as simple as <!— Main content —>
30th Jun 2018, 6:06 PM
Agent
Agent - avatar
+ 2
thank you so much
1st Jul 2018, 11:57 AM
Tareq Rahman
Tareq Rahman - avatar
0
1
16th Feb 2022, 12:59 PM
Rostyslav Pyrozhenko
Rostyslav Pyrozhenko - avatar