Difference between revisions of "HTML comment"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) (→See also) |
||
Line 16: | Line 16: | ||
== See also == | == See also == | ||
+ | * [[Comment (computer programming)]] | ||
+ | * [[CSS comment]] | ||
* [[HTML]] | * [[HTML]] | ||
* [[HTML elements]] | * [[HTML elements]] |
Revision as of 05:22, 29 September 2016
In HTML, a comment is a section of content which is ignored (not rendered visually) by a web browser.
Contents
Description
Use the comment to:
- Add useful information for developers and managers
- "Comment out" a section of code, so the browser ignores the code, while keeping the code
Example
Example:
<!-- HTML comment, ignored by browser, not displayed -->
See also
External links
- HTML comment @ w3schools.com