Passing in the string "ABCD" will result in the following string:
<SUP>ABCD</SUP>
This is now deprecated in favor of the more sophisticated controls available with style sheets.
See also: | style.fontSize, style.fontStyle |
Prev | Home | Next |
String.substring() | Up | String.toLocaleLowerCase() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |