+ 2
"<!-- This is a comment -->" why to write this ?
<html> <head> <title>first page</title> </head> <body> <p>This is a paragraph </p> <hr /> <p>This is a paragraph </p> <!-- This is a comment --> </body> </html>
4 ответов
+ 6
To demonstrate that anything between <! - - and - - > is a comment in html.
Comments are written to provide additional information about the code and will not be executed
+ 5
Yes
+ 3
it helps us to comment on the page ??
+ 2
comments are just to keep track of what you have made...suplose you have written like 3000lines of codes after that i asked you find the dection for your roll a dice button..then you can find that easily if you have placed any comments there