1. Home
  2. Computer Science MCQs
  3. HTML
  4. What is the purpose of the tag in HTML?

Added 10 Feb 2024

What is the purpose of the <sup> tag in HTML?

  1. To define superscript text Correct answer
  2. To define subscript text
  3. To create a hyperlink
  4. To format text as bold

Correct answer

A. To define superscript text

15 views

MCQSEXAM

Explanation

The correct answer is <sup>. The <sup> tag is used to define superscript text in HTML, which appears above the baseline of the surrounding text. It is commonly used for mathematical exponents, footnotes, and citations. Using semantic HTML elements like <sup> improves the structure and accessibility of web content.

Reference

https://www.w3schools.com/html/html_formatting.asp

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs