W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2003

Re: Marking up Meters Squared.

From: David Woolley <david@djwhome.demon.co.uk>
Date: Fri, 21 Nov 2003 23:59:32 +0000 (GMT)
Message-Id: <200311212359.hALNxWH06578@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org

> Does anyone know the best way to mark up short-hand for Square Meters - as
> in M2.

Depends on the audience.  For a mathematically inclined audience, MathML
might just be appropriate.  For an audience with good high school physics,
m<sup>2</sup>  (note that it is lower case m).  For a general audience,
square metres or, possibly, <abbr title="square metres">sq. m.</abbr>.

(I've got a square meter, but nowadays people use LCD digital displays.)
> 
> It would be good if  I could actually envelope the "2"  in some tag then I
> can style it also as superscript.

There is such an element: you surround it with the two tags <sup> and
</sup>.  However, there is actually a superscript 2 (&#178;) character
that probably has sufficiently universal support to be safe to use (but
not for a non-mathematical, general, audience).  It even seems to be in
code page 437, so available to European/North American PC text mode users.
Lynx cannot upshift the sup element, but can use the superscript 2 glyph.

I think I prefer the character.
Received on Friday, 21 November 2003 18:59:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:13 GMT