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
Questions:
file: /Techref/language/html/ib/Text_Formatting/comment.htm, 1KB, , updated: 2021/5/6 14:36, local time: 2024/8/14 14:03,
3.144.124.136:LOG IN
|
©2024 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? <A HREF="http://sxlist.com/techref/language/html/ib/Text_Formatting/comment.htm"> <!-- ... --></A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.