Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
27.5k views
in Information Technology by (72.4k points)

Distinguish between <sup> and <sub> tags with example.

1 Answer

0 votes
by (89.5k points)
selected by
 
Best answer

Distinguishes between <sup> and <sub> tags are as follows:

<sup> Tag <sub> Tag
The <sup> tag is known as superscript tag. The <sub> tag is known as subscript tag.
It is used to define superscripted text. It is used to define subscripted text.
Tags that are used to specify superscripted written as <sup> text </sup> Tags that are used to specify subscripted written as <sub> text </sub>
e.g. HTML command to display (a+ b)2 is (a+ b) <sup>2</sup> e.g. HTML command to display log2+log x is log <sub>2</sub>+log <sub>x</sub>

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...