W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0y
4.0y
TV 1.2y
2.1y

<COMMENT>...</COMMENT>

Description

Used to insert comments in the HTML source which will be ignored by the browser. Note that HTML elements inside the comment will not be ignored.

If the text you want to comment contains HTML elements you must use the !-- element because this ignores all HTML elements also.

Attributes

** None **

Examples

Source
<UL>
<LI>Item one in the list.
<LI>The second item
<COMMENT>Add items as they come available</COMMENT>
</UL>
 
Result
  • Item one in the list.
  • The second item Add items as they come available
Statistics