Comment | WebReference


HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Comment

<!-- ... -->

Description: Used to insert comments into a page. Does not display in browser.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

  • None

Code Example:

<!-- This information is not displayed by browsers -->

Comments: Can be used to make notes in the HTML file. Also used in JavaScripts and embedded style sheets to hide information from older browsers.

Created: March 15, 2005