W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2000

Re: Symbol

From: Ian Jacobs <ij@w3.org>
Date: Sun, 27 Aug 2000 22:25:33 -0400
Message-ID: <39A9CD9D.B5BBE84E@w3.org>
To: "CETA Gies Stefan (external)" <Ceta.Stefan.Gies.external@khe.siemens.de>
CC: www-html-editor@w3.org
"CETA Gies Stefan (external)" wrote:
> 
> Is there a HTML symbol representing the % ANSI symbol, like &percent;
> similar to &permil; ?

Hello,

I do not see this defined in the list of HTML 4
character entity references [1].

[1] http://www.w3.org/TR/html401/sgml/entities.html

> I am using a script language that accepts HTML symbols, but in this language
> the % symbol starts a comment. So to specify a % within a string I would
> need a replacement for it.

You should be able to use the numerical character
reference &#37; (decimal) or &#x25; (hex).

 - Ian

-- 
Ian Jacobs (jacobs@w3.org)   http://www.w3.org/People/Jacobs
Tel:                         +1 831 457-2842
Cell:                        +1 917 450-8783
Received on Sunday, 27 August 2000 22:25:40 GMT

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