Click to See Complete Forum and Search --> : html code


dward
01-10-2005, 12:18 PM
what tags allows you to comment out information?

Jona
01-10-2005, 12:23 PM
Originally posted by dward
what tags allows you to comment out information?

Keep the HTML 4.01 specification handy. It will save your neck. <http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.2.4>.

Charles
01-10-2005, 12:31 PM
The spec. glosses over one important part of HTML comments. It's the double dash that makes the comment. You can mix comments and non-comments in one tag. At least you are supposed to, browser implimentation is spotty at best. The important thing is to keep in mind that you ought not to do something like:

<!------------------------------------------->

That toggles the comment on and off and on and off... If you want a nice eye catching divider use instead:

<!-- ===================================== -->