HTML <!--...--> Tag
Example
An HTML comment:
<!--This is a comment. Comments are not displayed in the browser-->
<p>This is a paragraph.</p> |
Try it yourself » |
Definition and Usage
The comment tag is used to insert a comment in the source code. A
comment will be ignored by the browser. You can use comments to explain your
code, which can help you when you edit the source code at a later date.
You can also store program-specific information inside comments. In this case
they will not be visible for the user, but they are still available to the
program. A good practice is to comment the text inside scripts and style elements to
prevent older browsers, that do not support scripting or styles, from showing it
as plain text.
Standard Attributes
The comment tag does not support any standard attributes.
More information about Standard Attributes.
Event Attributes
The comment tag does not support any event attributes.
More information about Event Attributes.
Stylus Studio® 2010 XML Enterprise Suite raises the bar for productivity in XML development tools.
Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive
XML toolset to tackle today's advanced XML data transformation and aggregation challenges.
|
- XML Pipeline Editor, Debugger and Code Generator
- DataDirect XML Converters
- XQuery Mapper, Editor, Debugger, and Profiler
- XSLT Mapper, Editor, Debugger, Designer, and Profiler
- Java and C# for .Net Code Generation
- XML Schema Designer With Documentation Generator
- XML Editor With Full XPath Integration
Download a free trial now
|
|