haXe API Documentation
Back | Index
extern class js.html.Comment
extends CharacterData
Available in js

A comment is used to add notations within markup; although it is generally not displayed, it is still available to be read in the source view (in Firefox: View -> Page Source).  These are represented in HTML and XML as content between <!-- and  --> . In XML, the character sequence "--" cannot be used within a comment.

A comment has no special properties or methods of its own, but inherits those of CharacterData (which inherits from Node).



Documentation for this class was provided by MDN.
Back | Index