W3C home > Mailing lists > Public > www-html@w3.org > January 2002

RE: Use of Symbols

From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
Date: Mon, 14 Jan 2002 20:29:19 +0100
To: "Rowland Shaw" <Rowland.Shaw@crystaldecisions.com>, "Geoff McNeil" <g.mcneil1@ntlworld.com>, <www-html@w3.org>
Message-ID: <000401c19d31$c30c3500$e12750d9@andromedacwh>
Hello,

> -----Original Message-----
> From: http://www.w3.org/TR/html401/sgml/entities.html
> <!ENTITY pound CDATA "&#163;" -- pound sign U+00A3 ISOnum -->
>
> So:
> You can use &pound; instead of &#163; for readability in
> HTML/4.01. Charset
> *shouldn't* matter then (although you'd still need the underlying font to
> have the character defined)
oh yes, of course, I forgot to write about that solution.

And it, of course, also works in XHTML 1.0, XHTML 1.1 and XHTML Basic 1.0 -
but not plain XML because in plain the only predefined Entities are gt, lt,
amp, quot and apos.

There's a big number of such predefined entities giving character entities a
more sounding name.
This list can be found at:

XHTML newer than XHTML 1.0
http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_xhtml_chara
cter_entities

XHTML 1.0
http://www.w3.org/TR/xhtml1/#dtds
(Entity Sets)

HTML 4.01
http://www.w3.org/TR/html401/sgml/entities.html


Greetings

Christian
Received on Monday, 14 January 2002 14:32:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:50 GMT