[10768] in www-talk@info.cern.ch
Re: invisible-but-printable markup ?
daemon@ATHENA.MIT.EDU (Arnoud "Galactus" Engelfriet)
Mon Apr 21 14:12:04 1997
From: galactus@htmlhelp.com (Arnoud "Galactus" Engelfriet)
To: www-talk@w3.org
Date: Mon, 21 Apr 1997 19:54:31 +0200
Resent-From: www-talk@w3.org
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 <B>.
--
E-mail: galactus@htmlhelp.com .................... PGP Key: 512/63B0E665
Maintainer of WDG's HTML reference: <http://www.htmlhelp.com/reference/>