The Comment Delimiters

The comment delimiters are not really XHTML tags, but rather constructs defined by SGML. Nonetheless, no reference on HTML would be complete without them, so here they are.

<!-- -->

Attributes

Content

Comments may not be nested. Since they're SGML primitive constructs, they may not contain all sorts of obscure sequences with special meanings, in particular, the double hyphen ("--").

XHTML Quick Reference Guide for XHTML 1.1

Copyright © 2002 DDCC. May be copied, distributed, and modified under the terms of the GNU Free Documentation License. This guide is provided "as is." No warranty of any kind is expressed or implied.