Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: Numeric character references for HTML

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 16 Sep 2004 18:55:27 +0200
To: "Richard, Francois" <francois.richard@hp.com>
Cc: <www-html@w3.org>
Message-ID: <418fc444.473103056@smtp.bjoern.hoehrmann.de>

* Richard, Francois wrote:
>Related to Numeric character references in HTML 4.01, I do
>not understand why for instance &#123 (without ';' to close
>the reference) is correctly interpreted and displayed (in
>IE, Firefox) as the character '{'
>
>Is it part of the spec or just a trick from IE (and FireFox)?

Part of the specification. The ; can be omitted if it is clear
from context where the reference ends, e.g. if it is followed
by white-space. The same applies to entity references, e.g.
<p>&ouml</p> is allowed, too.
Received on Thursday, 16 September 2004 16:56:16 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.