Re: Numeric character references for HTML

* 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