1. Home
  2. Computer Science MCQs
  3. HTML
  4. Which tag is used to define a subscript text in HTML?

Added 10 Feb 2024

Which tag is used to define a subscript text in HTML?

  1. <sub> Correct answer
  2. <sup>
  3. <subscript>
  4. <superscript>

Correct answer

A. <sub>

17 views

MCQSEXAM

Explanation

The correct answer is <sub>. The <sub> tag is used to define subscript text in HTML, which appears below the baseline of the surrounding text. It is commonly used for chemical formulas, mathematical expressions, and footnotes. Using semantic HTML elements like <sub> enhances 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