Advertisements
Advertisements
Question
The correct HTML code to display (P + Q)2 is ______.
Options
<SUB> (P+) 2</SUB>
P+Q <SUP> 2 </SUP>
(P + Q)<SUP> 2 </SUP>
<SUP> (P+Q) 2</SUP>
MCQ
Fill in the Blanks
Advertisements
Solution
The correct HTML code to display (P + Q)2 is (P + Q)<SUP>2</SUP>.
Explanation:
The <SUP> tag displays text as superscript. Therefore, placing 2 inside <SUP> displays it above the normal text as (P + Q)2.
shaalaa.com
Is there an error in this question or solution?
