0
What does comment do in html
the work of comment tags in html
4 ответов
+ 2
Same thing it does in any language. Lets you leave a comment without affecting the execution of code.
+ 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.
0
don't know it
0
is the comment tag necessary in html