superscript in html code example
Example 1: how to write superscript in html
<sup>this text is in superscribt</sup>
Example 2: html sup tag
<h1><span>Your</span>App<sup>TM</sup></h1>
Example 3: CSS how to style
/* Formatted from source to be a copy/pasted quickly. */
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}