Formative Assessment-H1

Q1. Write an HTML code to write the following text on a Web page:

H2O is the formula for water.

Q2. Write an HTML code to write the following text on a Web page:

(x+y)2 is a mathematical formula.

Q3. Write an HTML code to view the following text in a Web page:

Following are the steps to save a file:

  1. Press the CTRL+S keys.
  2. Enter the name of the file in Save As dialog box.
  3. Click the Save button.

Q4. Write an HTML code to add a horizontal rule spread on the 50% of the browser window.