html comment data-type
html comment data-type
This page has been flagged with the following issues:
High-level issues:
Merge with html/elements/comment (and move out of html/elements, since comments are not elements.
Summary
Comments in HTML delimit parts of the source document that are not rendered by the browser.
Overview Table
| DOM Interface | HTMLElement |
|---|
Examples
The following is an example of an HTML Comment.
<!-- This text will not appear in the browser window. -->
Notes
Remarks
Comments can contain other HTML elements. Comments do not nest. Start and end tags are required.
Standards information
- HTML 4.01 Specification, Section 3.2.4
Members
The HTML Comment object has these types of members:
- [#properties Properties]
Properties
The HTML Comment object has these properties. {
Compatibility
Desktop
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
Mobile
| Feature | Android | BlackBerry | Chrome for mobile | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Opera Mini | Safari Mobile |
|---|---|---|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? | ? | ? | ? |
See also
Related pages (MSDN)
comment
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here