You are here: Reference > HTML > tags > comment

comment element

Browser support:
Indicates a non-displayed comment.
The comment tag is not rendered by the browser. It is useful to insert remarks into the source code, which can help when you edit the source code at a later time. Use the !-- tag instead.
If you want to see the HTML tags by categories, please visit this page.
This element requires a closing tag.
JavaScript page for this element: comment.

Possible members:

Sets a unique identifier for the object.
Specifies the language of the element.

Example HTML code 1:

This example illustrates the use of the comment element:
<comment>This object is a Microsoft extension to HTML.</comment>
Did you find this example helpful? yes no

Related pages:

External links:

User Contributed Comments

Post Content

Post Content