W3C home > Mailing lists > Public > www-html@w3.org > September 2004

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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:09 UTC