HTML comment

From Wiki @ Karl Jones dot com
Revision as of 03:55, 15 May 2016 by Karl Jones (Talk | contribs)

Jump to: navigation, search

In HTML the comment is ignored by the browser.

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