- From: Carl Morris <msftrncs@htcnet.com>
- Date: Mon, 23 Sep 1996 08:13:10 -0500
- 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> | PROCEDURE frob | BEGIN | IF silly <> foolish THEN | WRITELN("Ooops."); | END | </pre> | | is not legal because of the "<>". Yea, so use < 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:29 UTC