HTML Tag <SUP>

HTML Tag <SUP>

<SUP> Indicates superscript text.

Attribute of <SUP> Tag

CLASS

Indicates which style class applies to the <SUP> element.

H<SUP CLASS="dkm">2</SUP>O

Possible Values

Any Class Name.



ID

Assigns a unique ID selector to an instance of the <PRE> tag. When you then assign a style to that ID selector, it affects only that one instance of the <SUP> tag.

H<SUP>2</SUP>O

Possible Values

Any ID Name.



STYLE

Specifies Style Sheet commands that apply to the contents within the <SUP> tags.

H<SUP STYLE="background: red">2</sub>O

Possible Values

CSS Property with value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the superscripted text.

H<SUP TITLE="water">2</SUP>O

Possible Values

Any text Message.




CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad