0

What is the use of comments in htm?

it is not shown in the output also if wrute a comment with open and clsie tag<--!xxxx-->

4th Nov 2016, 10:45 AM
Anil Kumar Pattapu
Anil Kumar Pattapu - avatar
4 Respostas
+ 2
<!-- this is a comment in HTML --> anything within those parameter will not be excuted or taken in.
4th Nov 2016, 10:51 AM
Abdelaziz Abubaker
Abdelaziz Abubaker - avatar
+ 1
in HTML <!--comment--> in CSS /*comment*/ in JavaScript //comment or /*comment*/
4th Nov 2016, 11:31 AM
Demyan Postnikov
Demyan Postnikov - avatar
+ 1
Comments are not displayed in the browser but you can use comments to explain your code, which can help you when you edit the source code at later date. This is especially useful when you have a lot of code.
28th Mar 2020, 8:29 AM
Dagmawit Tibebu
Dagmawit Tibebu - avatar
0
these are comments tag ...anything u write in between them will not be displayed in the output section. Programmer use this for making a note that is whats being done here ... it works same as C or C++ comments
4th Nov 2016, 3:25 PM
Anoop Sharma
Anoop Sharma - avatar