Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html

What is the <sup> element in HTML?

Dian Us Suqlain

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

We use the <sup> element with inline text to display content as a superscript.

Superscript indicates that the content added between the <sup> and </sup> tags is a smaller font size and placed slightly above the normal text.

Syntax

We write tags in HTML inside the < and > signs. The syntax is as follows:

<sup> superscript content </sup>
superscript text and <sup> tag.

Code

The following is an example code which shows how to use the <sup> element in an HTML document.

The <sup> element

RELATED TAGS

html

CONTRIBUTOR

Dian Us Suqlain
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring