W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] Physical quantities: <var> or <i>?

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Fri, 15 Apr 2011 17:58:08 -0400
Message-ID: <BANLkTimQLe75LnjQC2HgyaKrRKu=7fFD=w@mail.gmail.com>
On Thu, Apr 14, 2011 at 10:02 AM, Jukka K. Korpela <jkorpela at cs.tut.fi> wrote:
> Looking at the nice summary (with examples) of text-level markup at
> http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#usage-summary
> I started wondering why there is no example of markup for symbols of
> physical quantities. The descriptions of individual elements or their
> examples don't seem to say anything about this either.
>
> So what markup should we use for E = mc?, given that by the applicable
> standards, E, M, and c should appear in italics and the other characters as
> normal (upright)?

Those three characters are typeset, read, and otherwise presented
identically to variables, so the correct tag is <var>.  Perhaps the
spec could be clearer on this point.
Received on Friday, 15 April 2011 14:58:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:03 GMT