Superscript Text on HTML

Superscript Text:

• The content of a <sup>…….</sup> element is written in superscript.
• The font size used is the same size as the characters surrounding it but it displayed half a
character’s height above the other character.
Example:

<!DOCTYPE html>
<html>
<head>
<title Formatting Example</title>
</head>
<body>
<p>The following word uses a <sup> superscript </sup>typeface.</p>
</body>
</html>

OUTPUT:

Comments

Popular posts from this blog

Set Font Colour

HTML FONTS

HTML Table Heading