W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: [Fwd: Re: [whatwg] simple numbers]

From: David Woolley <forums@david-woolley.me.uk>
Date: Sun, 13 Jan 2008 21:19:57 +0000
Message-ID: <478A807D.8080700@david-woolley.me.uk>
To: www-style@w3.org

Keryx Web wrote:

> I see your point. However, separating actual numbers from the unit makes 
> a lot of sense as well.

There are pre-web conventions for that, simply append /USD to the end of 
the column heading (or ($)).

> Another way to set units might be through an (X)HTML attribute. This 
> discussion was started on the WHAT-WG list, as I thought we might even 
> need a special number element. That would enable browsers to apply 

I think the best way is to make the units part of the text content and 
have the canonical number as an attribute.  That way, you retain the 
markup language heritage.  Similar suggestions have been made for dates, 
i.e. have the ISO date as an attribute, and the document language's 
convention for dates in the actual text.

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Sunday, 13 January 2008 21:20:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:33 UTC