W3C home > Mailing lists > Public > www-html@w3.org > August 2006

Re: sub/sup (was Re: samp, kbd, var)

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 25 Aug 2006 10:13:30 +0300 (EEST)
To: www-html@w3.org
Message-ID: <Pine.GSO.4.64.0608251004500.7841@korppi.cs.tut.fi>

On Wed, 23 Aug 2006, Patrick H. Lauke wrote:

>> What is a superscript letter/number is part of a name?
> Then HTML would be insufficiently specific to mark it up, and another 
> language (or an additional, optional module) should be used instead.

Maybe, maybe not. If the superscript can be expressed using superscript 
characters (e.g., SUPERSCRIPT LATIN SMALL LETTER N U+207F), then the 
superscripting _can_ be expressed in plain text and hence also in HTML.
Whether it would be wise or recommendable to do so is a different matter.

Thus, there are _three_ ways to deal with superscripts and subscripts:
1) use markup that means superscripting or subscripting
2) use a style sheet (e.g., setting vertical-align and font-size);
    this naturally requires some markup that makes the piece of text
    an element
3) use a superscript or subscript character (directly or using a
    a character or entity reference), when applicable

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Friday, 25 August 2006 07:13:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:14 UTC