Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

Summary

In this hour you learned how to set the background and text colors for a Web page. You also found out how to make a tiled background image appear behind a Web page, how to make foreground images partially transparent so the background shows through, and how to create seamless image tiles for use as backgrounds.

Table 11.1 summarizes the attributes of the <body> tag discussed in this hour.

Table 11.1. The <body> Tag and Attributes Covered in Hour 11

Tag Attribute Function
<body>…</body>   Encloses the body (text and tags) of the HTML document
  background="&hellip" The name or address of the image to tile on the page background
  bgcolor="&hellip" The color of the page background
  text="&hellip" The color of the page's text
  link="&hellip" The color of unfollowed links
  alink="&hellip" The color of activated links
  vlink="&hellip" The color of followed links

Share ThisShare This

Informit Network