W3C home > Mailing lists > Public > www-style@w3.org > September 1996

Re: space

From: Carl Morris <msftrncs@htcnet.com>
Date: Mon, 23 Sep 1996 08:13:10 -0500
Message-Id: <199609231316.IAA04783@inet.htcnet.com>
To: "Chris Ridd" <C.Ridd@imc.exec.nhs.uk>
Cc: "WWW HTML List" <www-html@w3.org>, "WWW Style List" <www-style@w3.org>
| No, because the contents of a <pre> section is only PCDATA, which
| prevents you from using the 'special' SGML characters inside your
| program. This will greatly annoy your programmers...
| eg
| <pre>
|   IF silly <> foolish THEN
|     WRITELN("Ooops.");
| </pre>
| is not legal because of the "<>".

Yea, so use &lt;

AND I DON'T CARE WHAT THE DTD SAYS!  So far, all browers seem to
support the fact (maybe mosaic doesn't) that an HTML document is an
HTML document and in acually there is no character that can not be
represented ... providing you have use of the enities...  so they
currently support enities and I would stress that every one does... 
There is no reason that a <PRE> block can't be formated into HTML
limitations...  <PRE> is primarily made to enforce a monospaced font...
not a "non escaped" document... so everything in an HTML document
should be escaped come some reason or another...
Received on Monday, 23 September 1996 09:17:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:41 UTC