write the HTML tag to write the following text (a+b) 2=a2+2ab+b2
Answers
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_2OH2O , 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=2aba2+b2=2ab
HTML code to represent (A+B)^2 = A^2 + B^2 + 2AB(A+B)2=A2+B2+2AB
<!DOCTYPE html>
<html>
<body>
<P>(A+B) <sup>2</sup>=A<sup>2</sup>+B<sup>2</sup> +2AB
</body>
</html>
Explanation:
HTML HTML stands for -
HighText Machine Language
HyperText and links Markup Language
HyperText Markup Language
None of these
Show Answer