Home > Topic List > How to comment code in html

How to comment code in html

The syntax of comments uses text enclosed by "<!--" and "-->". Comments can be nested, but the syntax of nested comments cannot use "<!--" and "-->". You can use multiple a single-line comment or wrap the comment inside some other element. For more information on how to annotate code in HTML, you can visit the following article.

Related Tutorials More >