COMMENT

Description

Indicates a comment that will not be displayed. This element is no longer recommended. It is provided for backward compatibility. When authoring documents, use the <!-- --> comment element for comments instead.

Syntax

<COMMENT
ID=value
LANG=language
TITLE=text content
>

Parameter

Description

ID

SGML identifier used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore character, "_", may be used in the ID name. The ID should be unique throughout the scope of the document. If more than one object with the same identifier exists in a document, a collection of those named items is created that can only be referenced by ordinal position.

LANG

Specifies which language to use in ISO standard language abbreviation form.

TITLE

The TITLE attribute is for advisory information (unless used with a mailto: attribute). The Title attribute should provide the title of the document whose address is given by the HREF attribute. The contents of the title attribute will be displayed in a tooltip during the mouse moves on the link. Internet Explorer 4.0 (and above) is the only browser to implement this.

Version

This element is only supported by the Internet Explorer and Mosaic.

Example

<COMMENT>The text won't render. It will not appear in the browser.</COMMENT>

Remarks

Both the start and end tags are required.

Related Topics

!-- --