Dart API Referencedart:htmlComment

Comment Interface

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).

Extends

CharacterData

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.