html comment data-type

< html‎ | elements(Redirected from html/elements/comment)
Jump to: navigation, search

html comment data-type

This article is Not Ready.


Summary

A syntactical production: The comment syntax indicates text within a document that is not displayed on the rendered page in the browser. A comment starts with <!-- and ends with -->.


Overview Table

DOM Interface Comment

Comments can contain other HTML elements. Comments do not nest. Start and end tags are required.

In XML mode, comments must not start or end with a dash, and must not contain two consecutive dashes.

Examples

The following is an example of an HTML Comment.

<!-- This text will not appear in the browser window. -->

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]