write (x+y)^2=x^2+y^2+2.x.y in html
Answers
Answered by
3
Required HTML program :-
<!DOCTYPE html>
<html>
<head>
<title> Hello World! </title>
</head>
<body>
<p>(x+y)<sup>2</sup> = x<sup>2</sup> + y<sup> 2 </sup> + 2.x.y</p>
</body>
</html>
Explanation :-
In order to write superscript contents (such as ²), we have to use superscript tags.
Starting with <sup> and ending with </sup>
Output attached... ★
Attachments:
Similar questions