To include comments in an HTML document that will be ignored by the HTML
user agent, surround them with <!-- and
-->. After the comment delimiter, all text up to the next
occurrence of --> is ignored. Hence comments cannot be nested. White space
is allowed between the closing -- and >, but not between the opening <!
and --. Comments can be used anywhere within an HTML document and are generally
used as markers to improve the readability of complex HTML documents.
For example:
<HEAD>
<TITLE>The HTML Reference Library</TITLE>
<!-- First created by Stephen Le Hunte, March 1995
-->
</HEAD>
NOTE: Some browsers incorrectly consider a > sign to terminate a comment.
© 1995-1998, Stephen Le Hunte
Dear Mr. Wikispammer: Please note that your comments are ONLY visable from your IP address. Try to see them from another address; they are not there. Your continued attempts to wikispam on this site only waste your time and mine. +
See also:
Code:
Comments:
| file: /techref/language/html/ib/Text_Formatting/comment.htm, 2KB, , updated: 2008/2/24 19:29, local time: 2008/12/2 17:56,
38.103.63.57:LOG IN
|
| ©2008 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://www.massmind.org/techref/language/html/ib/Text_Formatting/comment.htm"> <!-- ... --></A> |
| Did you find what you needed? |
Welcome to massmind.org! |
|
.