Write the html tag to write the following text a2+b2=(a+b)2-2ab
Answers
Answered by
0
Answer:
HTML code to display (A+B)2 = A2 + B2 + 2AB in web page.
Explanation:
< sub > tag :
Tag <sub> is used for subscript.
The tag < sub > is used to represent the text in subscript. The subscript text appears in a smaller font below the normal line. In order to represent chemical formulas such as H_2OH
2
O , subscription text is useful.
<sup> tag :
Tag <sup> is used for superscript. Similarly, the < sup > tag is above the normal line. This can be used to specify formulas such as a^2+b^2=2aba
2
+b
2
=2ab
HTML code to represent (A+B)^2 = A^2 + B^2 + 2AB(A+B)
2
=A
2
+B
2
+2AB
<!DOCTYPE html>
<html>
<body>
<P>(A+B) <sup>2</sup>=A<sup>2</sup>+B<sup>2</sup> +2AB
</body>
</html>
Similar questions