0

What does comment do in html

the work of comment tags in html

5th Jul 2017, 6:40 PM
miracle
miracle - avatar
4 Respostas
+ 2
Same thing it does in any language. Lets you leave a comment without affecting the execution of code.
5th Jul 2017, 6:41 PM
AgentSmith
+ 2
If you need to leave a comment, just like in any programming language, then it's necessary. When you have just one page of code, who cares, right? But imagine that you have folders and folders of source code, and it's something you've worked on all year, and you need to go back to something you haven't touched in forever? Will you have to read it and figure out what you were doing again or did you properly document the code? That's how it can be useful to yourself. Now imagine that you have someone else look at the code? The comments may be vital to them understanding your code in a shorter amount of time.
5th Jul 2017, 6:46 PM
AgentSmith
0
don't know it
5th Jul 2017, 6:40 PM
miracle
miracle - avatar
0
is the comment tag necessary in html
5th Jul 2017, 6:43 PM
miracle
miracle - avatar