SUP Element | SUP Object

MS Office DHTML, HTML & CSS

SUP Element | SUP Object


Specifies that the enclosed text should be displayed in superscript, using a smaller font than the current font.

HTML Syntax

<SUP
    CLASS=classname
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS 
    STYLE=css1-properties
    TITLE=text
    event = script
>

Remarks

The SUP element is an inline element and requires a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Styles

Example

This example uses the SUP element to change some of the text to a superscript font.

(X<SUP>2</SUP> + Y<SUP>2</SUP>)

The preceding code causes the text to render as follows:
(X2 + Y2)

See Also

SUB



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.