You are here: Re: Simple HTML question « HTML « IT news, forums, messages
Re: Simple HTML question

Posted by Toby Inkster on 01/13/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>&lt;b&gt;</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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация