Comments

End Tag: Required
Support Key:
Comment: 2 | 3 | 3.2 | 4 | IE1 | M1 | N | O
    <!-- -->: 2 | 3 | 3.2 | 4 | IE1 | M1 | N1 | O2.1
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson [bloo@blooberry.com] =
Main Index | Element Tree | Element Index | HTML Support History


What is it?
Comments are regions of text and/or HTML tags that are ignored by the browser. Any text between the opening and closing comment delimeters will not appear on the screen. There are currently two methods to do this; the COMMENT element (obsolete) and the !-- -- delimiters (recommended.) The second method is a special HTML syntax originating from SGML and uses '<!--' as a beginning delimiter and '-->' as an end delimiter. White space is allowed between the closing '--' and '>' but not between the opening '<!' and '--'. Comments are non-nestable.

Attributes
These elements/syntaxes do not allow any attributes.
Example
<!-- This is a comment -->
- OR -
<comment> This is a comment </comment>
Parent Model
NA
Content Model
NA
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...