W3C home > Mailing lists > Public > www-talk@w3.org > March to April 1997

Re: invisible-but-printable markup ?

From: Arnoud <galactus@htmlhelp.com>
Date: Mon, 21 Apr 1997 19:54:31 +0200
To: www-talk@w3.org
Message-ID: <Xn6Wz4uYOhCU089yn@htmlhelp.com>
In article <v02110113af80d4704a98@[150.203.148.74]>,
tony@ningaui.anu.edu.au (Tony Barry) wrote:
> At 12:44 PM 16/4/97, Andrew Daviel wrote:
> >Is it possible somehow to define markup that gets printed but not
> >normally displayed ?
> 
> Use comments tags <!-- blah -->

I would recommend against using comments to hide markup. While
technically legal, something like <!-- <B>Hello</B> --> would
result in the text "Hello" being displayed, because some broken
browsers assume that the comment ended at the '>' after <B>.

And to "normally display" HTML tags, I presume you mean showing
the literal text "<B>". That is done with &lt;B&gt;.

-- 
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>
Received on Monday, 21 April 1997 13:58:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:22 GMT