Computer Science, asked by our68, 1 year ago

please help me

Give me HTML code

Attachments:

Answers

Answered by AritraK
5
Dear friend,

Here's your HTML Code,

<html>
<body>
x<sup>2</sup>+y<sup>2</sup>=(x+y)<sup>2</sup>
<br>
The numbers <b>2</b> in the above equation have been set in superscript.
</body>
</html>

Use the <sup></sup> tag to make the text superscript.

Hope it helps !
Answered by Anonymous
8
Answer :

Here's the code for the following attachment.

<html>
<head><title>Title here</title></head>
<body>
<p>x<sup>2</sup>+y<sup>2</sup>=(x+y)<sup>2</sup></p>
<p>The numbers <b>2</b> in the above equation have been set in the superscript.</p>
</body>
</html>

Some information -

▪️ In order to make a text in superscript in HTML we use <sup> tag.

▪️<sup> is a container tag i.e., it include both opening and closing tag.

▪️The number 2 has been made bold tag which is a container tag.

▪️ Also, in order to make a text in subscript in HTML we use <sub> tag.

▪️ <sub> is a container tag i.e., it include both opening and closing tag.
Similar questions