0
what does actually comment tag does
like if we give coment tag <!--ocmment--> then what we get in output or where is a need of giving a comment tag
5 Respuestas
+ 6
They do nothing by themselves, but when the html parser (i.e. web browser) encounters them, it skips everything inside the comments tag.
+ 4
Comments are just for readability of your html code. You can for example describe what a section does, so it's easier to understand. It doesn't affect the output
+ 4
it does nothing, but it actually helps user later when he uses file later. comments can be useful to find many different elements within our coding, when the coding is really large.
+ 2
You get nothing in output. It is generally used to help others in understanding ur code
+ 1
Comments can help you as well as other programmers to understand the logic behind your code. Just take a look at a program you wrote a view weeks ago. You will see a lot of question marks 😵