Geek's Portal For Computers Graphics Operating Systems Multi-Media Networking Programming Data Format and  News
[ Start Page ] [ Contacting ] [ About ] [ Link To Us ] [ Geek Gear ] Sat, Sep 6 2008 
Free Internet Tools by web-geek.com Internet Tools
Administrator Tools
Name Server Look Up
Ping Test
Who Is
Trace Route

Web Developer Tools
Web Safe Colors
HTML Character Map
PopUp Generator
Body Color CSS v1.0
Browser Information
Meta Tag Generator
Keywords Generator
Link Popularity
JavaScript Escape / Unescape Converter
JavaScript Drop Down Menu Builder
Web / Virtual Hosting Directory

Reference Documention
HTML 4.0 Reference

Reference Tables
Character Conversion Table
Domain Name Suffixes

Cheat Sheets
Vi / Vim Basic Commands


WEB-GEEK.COM's Feature Sites Feature Sites
oGobogo Internet Search Directory
News.web-geek.com Internet News Directory
Pdawebgeek.com PDA Friendly Web Directory
Games.web-geek.com Free Online Games


folder HTML 4.0

SUP - Superscript

Syntax <SUP>...</SUP>
Attribute Specifications
Contents Inline elements
Contained in Inline elements, block-level elements

The SUP element is used for superscripts. Since SUP is inherently presentational, it should not be relied upon to express a given meaning. However, it can be useful for mathematical exponents where the context implies the meaning of the exponent, as well as other cases where superscript presentation is helpful but not required. For example:

  • The rent is due on the 1<SUP>st</SUP> of each month.
  • An example of a quadratic polynomial is <STRONG>3<VAR>x</VAR><SUP CLASS=exponent>2</SUP> + 5<VAR>x</VAR> - 7</STRONG>.

The following two examples are ambiguous when presented on a browser incapable of superscript text:

  • 2<SUP CLASS=exponent>4</SUP> = 16
  • sin<SUP CLASS=exponent>2</SUP><VAR>x</VAR> + cos<SUP CLASS=exponent>2</SUP><VAR>x</VAR> = 1

There is no simple solution for this problem. One could use notation such as 2^4 to represent "two raised to the exponent four." If it gains browser support, MathML should provide a more suitable solution in the future.

More Information

Copyright © 1998 by Liam Quinn. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/).


Sponsor Sponsor


  © 1999-2006, web-geek.com a Geek Boy Enterprises, Inc. website terms and conditions of use [ Start Page ] [ Contacting ] [ About ] [ Link To US ]