Computer Science, asked by varunmaan717, 9 hours ago

Explain the terms- Superscript and Subscript​

Answers

Answered by pranalirewale
0

Explanation:

Subscript is the text which a small letter/number is written after a particular letter/number. It hangs below its letter or number. ... Superscript is the small letter / number above a particular letter / number. An example of superscript is 25. The number 5 above the number 2 is an example of superscript.

hope its helpful

Answered by poojamaiti06
0

Answer:

For adding subscript <sub> and for adding superscript <sup> tag is used.

These tags are paired tags.

Showing the use of subscript and superscript tags:

<head>

<title>Sub and Sup</title>

</head>

<body>

   <p>Calcium hydroxide = Ca(OH)<sub>2</sub></p>

   <p>Aluminium oxide = Al<sub>2</sub>O<sub>2</sub></p>

   <p>Algebra formula</p>

   <p>(a+b)<sup>2</sup> = a<sup>2</sup>+2ab+b<sup>2</sup></p>

   <p>(a-b)<sup>2</sup> = a<sup>2</sup>-2ab+b<sup>2</sup></p>

</body>

</html>

Similar questions