0
pls explain the comment tag
<!-- -->
2 Respostas
+ 3
It is explained in the HTML course and honestly, there isn't much to explain about it, its name describes itself.
the comment tag is used to add comments in your code. It is not executed in the code, it is purely for readbility. For example, you can add comments in parts of your code that are hard to understand, so others can understand them. Additionally, you can add comments so you will understand what parts of the code are for, helpful for your future self checking out your code. Example:
<!-- The code below creates a container for the page header -->
+ 1
The text inside this tag will be completely ignored by the browser