HCI 201 Multimedia and the World Wide Web

Fall 1999 - Section 703 - Attributes for the <BODY> Tag


Examples:

The following would tile the image "hair.gif" across then down the page background.
<BODY BACKGROUND="../images/hair.gif">
See it

The following colors the page background in green.
<BODY BGCOLOR="#00FF00">
See it

The following colors the page background in dark teal, regular text is a pale yellow, links are green, active links are a pale blue, and visited links are an orange.
<BODY BGCOLOR="#336666" TEXT="#FFFFCC" LINK="#00FF00" ALINK="#CCCCFF" VLINK="#CC9966">
See it

The following uses pre-defined color names to make the background navy-blue, the text white, the links lime-green, active links yellow and visited links cyan.
<BODY BGCOLOR="navy" TEXT="white" LINK="lime" ALINK="yellow" VLINK="cyan">
See it


Week 3
Previous | Next

Course Home | Announcements | Class Roster | Schedule | Syllabus