Re: superscript characters

by "Tim Rivera" <lists(at)timrivera.com>

 Date:  Sun, 2 Mar 2003 13:35:33 -0500
 To:  <hwg-basics(at)hwg.org>
 References:  dfyh
  todo: View Thread, Original
> character entities such as &sup1;. However, according to the list that I
> have, from my trusty O'Reilly book, these only go up to 3. Is there
> something that can be used for numbers higher than that?

Hello Dusty,

You can use the HTML element SUP (which is not deprecated), or CSS:


.sup {
    vertical-align: super;
    font-size: 0.6em;
}

<sup>4</sup>
<span class="sup">4</span>


HTH,

Tim

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA