Question:medium

Write the HTML code to display the following statements on a webpage:
I. The chemical formula for Sulfuric Acid is H2SO4.
II. The Pythagorean theorem is a2 + b2 = c2.
III. The coordinates are represented as (X1, Y1).

Show Hint

Low characters need the subscript tag, and raised powers need the superscript tag.
Updated On: Nov 3, 2026
Show Solution

Solution and Explanation

Step 1: Find the raised and lowered characters:
Read each statement and spot every character that is not on the normal line. Statement I has the 2 and the 4 low. Statement II has three small 2s high. Statement III has the two 1s low.

Step 2: Match each position with a tag:
StatementCharactersPositionTag
I2 and 4 in H2SO4Below the line<sub>
II2 after a, b and cAbove the line<sup>
III1 after X and YBelow the line<sub>


Step 3: Assemble the lines:
We join the statements with line breaks so each one starts on a new line.
The chemical formula for Sulfuric Acid is H<sub>2</sub>SO<sub>4</sub>.<br>
The Pythagorean theorem is a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup>.<br>
The coordinates are represented as (X<sub>1</sub>, Y<sub>1</sub>).


Step 4: Avoid the common slip:
If the two tags are swapped, the formula looks wrong. H2SO4 would show raised numbers, which means powers and not atom counts. So low means <sub> and high means <sup>. Using paragraph tags instead of line breaks is equally correct.

Final Answer:
Subscript tags are used in statements I and III, and superscript tags in statement II. \[ \boxed{\text{I and III: sub tag; II: sup tag}} \]
Was this answer helpful?
0