| Comment The comment object reflects the ! Html element, which is used to specify one-line comments within the running text of the document body (or head - anywhere, really). The makers of the DOM specifications for some reason saw it fit to assign properties, collections, and even a few methods to this object, even though its use is so elementary and doesn't really add to the document's functionality. Perhaps for completenes. Note that there are no event handlers for this object (which makes sense). DOM Reference Internet Explorer window.document.all.tags("!")[n]The properties of the Comment object are: className document id innerHtml innerText isTextEdit lang language offsetHeight offsetLeft offsetParent offsetTop offsetWidth outerHtml outerText parentElement parentTextEdit style tagName text titleThe Methods of the Comment object are: click() getAttribute() removeAttribute() setAttribute()The Collections and Arrays for the Comment object are: all [ ] children [ ] |