XML - Comment

About

Comments may appear anywhere in a document outside other markup.

They are not part of the document's character data

Example

<!-- declarations for <head> & <body> -->

Note that the grammar does not allow a comment ending in —>. The following example is not well-formed.

<!-- B+, B, or B--->

Documentation / Reference


Powered by ComboStrap