Name
COMMENT — NN n/a IE 4 DOM 1
Synopsis
The COMMENT object
reflects the ! element. Most properties are not
available or aren’t fully functional in the Macintosh version.
Despite the presence of an id property, you cannot
set an ID attribute in the HTML for a comment
element.
HTML Equivalent
<!--comment text-->Object Model Reference
- IE
[window.]document.all.tags("!")[i]
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
|
|
|
|
Collections/Arrays
|
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access