Posted by Toby Inkster on 09/30/95 11:46
Blinky the Shark wrote:
> It just occurred to me that it seems like "<code>foo</code>"
> should make foo inert by definition.
Do you mean that <code><b></code> should be equivalent to
<code><b></code>?
If so, they tried that with <xmp>, but that was deprecated as of HTML 4 as
it is impractical for many reasons:
- what if you actually want to include some bold text
within your code fragment (useful for syntax highlighting
for example)?
http://test.tobyinkster.co.uk/Preview/Syntax-Highlighting/test.php
- it makes parsing difficult
- it doesn't fit in nicely with SGML rules, making validation
tricky.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|