Answers for "html sup"

0

CSS how to style <sup>

/* 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;
}
Posted by: Guest on January-26-2021
0

html sup

<p>This text contains <sup>superscript</sup> text.</p>
<style>
  /* Default CSS : */
  sup {
      vertical-align: super;
      font-size: smaller;
  }
</style>
Posted by: Guest on March-14-2021
0

html sup tag

<h1><span>Your</span>App<sup>TM</sup></h1>
Posted by: Guest on August-18-2020

Browse Popular Code Answers by Language