Q1. Write an HTML code to write the following text on a Web page:
H2O is the formula for water.
Ans. The following code allows you to display the text as given in the question:
H<SUB>2</SUB>O is the formula for water.