CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "comment" element

The "comment" Element

Additional links:


The "comment" element is obsolete and should never be used. To put comments in a document, use this format: <!-- comment text here -->

Attributes for "comment"
TypeAttribute List
'Standard' Attributes(none)


  • The "comment" element is considered obsolete. Avoid its use whenever possible.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem