HTML Tags | Subscript and Superscript Tags in HTML | Learn Tech on BeingSkilled

If you want to use certain text in subscript or Superscript on your HTML webpages, then you can do that by using the HTML tags.

 

For Subscript, the HTML tag is <sub>. By using the subscript tag, the text within the tag is rendered slightly below the normal text, in a small font-size.

 

For Superscript, the HTML tag is <sup>. By using the superscript tag, the text within the tag is rendered slightly above the normal text, in a small font-size. It is widely used for typing mathematical equations, chemistry equations, etc.

 

 

Leave a comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.