The HTML Elements reference

"sup" - html element

  • This element is used for superscripts.
  • Starttag <sup> is Required and endtag </sup> is Required
  • Browsers that support the sup - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "sup" example:
<p>To create bold text, wrap the chosen word or phrase with <b> and
</b> tags</p>
<p>To italicize text, place the text between <i> and </i> tags.</p>
<p>To underline text, place the text between <u> and </u> tags.</p>
<p>To strike through text, use the <s> and </s> tags.</p>
<p>To produce a monospace (code-like) formatting, place the text
between <tt> and </tt> tags (stands for "teletype")</p>
<p>Superscript: a<sup>2</sup> x b<sup>2</sup> =
c<sup>2</sup></p>
<p>Subscript: H<sub>2</sub>O</p>


Attributes:
class , dir , id , lang , style , title

Attribute "class" value(s): A list of style class names that must be separated by white space characters.
  • This attribute assigns a style class name or set of style class names to an element. Any number of elements may be assigned the same class name or names.
  • You will find more about this in the CSS learning on this site.



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.