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.
Create a free Flash website with our simple, online web design editing platform. Stunning templates
and user-friendly tools make website building easy and fun.
Start Creating your free website now!

The Altova MissionKit is an integrated suite of tools ideal for:
- XML development
- Web & Web services development
- Data mapping & integration
- Rendering & publishing XML & database data
- XBRL validation, taxonomy editing, transformation & rendering
The MissionKit for XML Developers includes XMLSpy® - the industry-leading XML editor; MapForce® - a
graphical data mapping, conversion, and integration tool; StyleVision® - a visual XSLT stylesheet designer;
DiffDog® - an XML-aware diff/merge tool; and 2 additional tools.
Try all 6 products free for 30 days!
Download a fully-functional free trial
|
|
|
|