html power tag code example
Example 1: how to write superscript in html
<sup>this text is in superscribt</sup>
Example 2: 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;
}