<!-- -->

Form

<!-- -->

Attributes

attribute default description
none none none

Support

HTML 2, HTML 3.2, HTML 4.01 [STF], XHTML 1.0 [STF], XHTML 1.1, XHTML Basic
[IE3 or later][Firefox 1 or later][Safari 1 or later][Opera 3 or later][Netscape 2 or later]

Explanation

The (!-- --) tag denotes a comment. In Internet Explorer, even if a content is enclosed in the <comment> tag, it will be treated as the comment.
This tag may be used like <!----> at the head of a page to detect a character code in Yahoo JAPAN (in this case, it is used to detect the character encoding of a page as the EUC encoding).
You can also use this tag for designating targeting sections in your site's content by using the Google AdSense. This is described as follows.
attribute default
<!-- google_ad_section_start --> The start of the targeting section
<!-- google_ad_section_end --> The end of the targeting section
<!-- google_ad_section_start(weight=ignore) --> The start of the section of the ignored content
<!-- google_ad_section_end --> The end of the section of the ignored content

Related Tags

comment

Sample Code [Output]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
</head>
<body>
<h1>Sample</h1>
<p>
Comments won't be displayed on a page.<br>
<!-- This comment won't be displayed -->
</p>
</body>
</html>