Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.