nten
Write 11TML code for output :-
A) Chemicals
H₂SO4
• Na2 co3
B) Formula
•(A+B)3
• (A3-B3)
Answers
Answer:
<html>
<head>
<title>Html code for chemical and formula</title>
</head>
<body>
<ol type = "A">
<li>Chemicals</li>
<ul>
<li>H<sub>2</sub>SO<sub>4</sub></li>
<li>Na<sub>2</sub>co<sub>3</sub></li>
</ul>
<li>Formula</li>
<ul>
<li>(A + B)<sup>3</sup></li>
<li>(A<sup>3</sup> - B<sup>3</sup></li>
</ul>
</ol>
</body>
<html>
Question:-
Write HTML code for the following output.
A) Chemicals
- H2SO4
- Na2CO3
B) Formula
- (a+b)³
- (a³-b³)
Code:-
<!DOCTYPE html>
<html>
<head>
<title>
Example
</title>
</head>
<body>
<ol type=A>
<li>Chemicals
<ul>
<li>H<sub>2</sub>SO<sub>4</sub>
<li>Na<sub>2</sub>CO<sub>3</sub>
</ul>
<li>Formula
<ul>
<li>(a+b)<sup>3</sup>
<li>(a<sup>3</sup>-b<sup>3</sup>
</ul>
</ol>
</body>
</html>
For verification,check out the attachment.