Attributes of the <body> tag

All tags have optional attributes. This assignment gives you practice with some of the attributes of the Body tag.

Using attributes of the body tag, create an HTML page with some white text on a black background. (It can say anything you want it to). Print out the page and its source code to turn in.

Answer the following questions:

  1. Which attributes of the body tag did you use?
  2. What values did you assign to each of them?
  3. Would it make any difference if you switched the order of the attributes you used?

Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.