+ 2
Anybody help me??
i dont understand the use of this <!-- This is a comment --> . why it is used...
6 Answers
+ 15
The comment tag is used to insert comments in the source code. Comments are not displayed in the browsers.
You can use comments to explain your code, which can help you when you edit the source code at a later date. This is especially useful if you have a lot of code.
https://www.w3schools.com/TAGS/tag_comment.asp
+ 14
This is not necessary, comments are for people, not for machinesš
Just commenting is good practice, this is for you and for others who will read your code. Comments are useful for understanding what the code does and how it works.
+ 14
You are welcomeš
+ 5
hello my friendš
it's use to write information in the code.
+ 1
so its not so important yet??
+ 1
thanks a lot