Difference between revisions of "HTML comment"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (Created page with "In HTML the '''comment''' is ignored by the browser. == Description == Use the comment to: * Add useful information for developers and managers * "Comment out" a sectio...") |
Karl Jones (Talk | contribs) |
||
Line 7: | Line 7: | ||
* Add useful information for developers and managers | * Add useful information for developers and managers | ||
* "Comment out" a section of code, so the browser ignores the code, while keeping the code | * "Comment out" a section of code, so the browser ignores the code, while keeping the code | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | Example: | ||
+ | |||
+ | <nowiki><!-- HTML comment, ignored by browser, not displayed --></nowiki> | ||
== See also == | == See also == | ||
Line 15: | Line 21: | ||
== External links == | == External links == | ||
− | * [ | + | * [http://www.w3schools.com/tags/tag_comment.asp HTML comment] @ w3schools.com |
− | + | ||
[[Category:HTML elements]] | [[Category:HTML elements]] |
Revision as of 03:55, 15 May 2016
In HTML the comment is ignored by the 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