Warning: include(http://www.studio6000.com/header.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/studio60/public_html/html/lesson5.php on line 12

Warning: include() [function.include]: Failed opening 'http://www.studio6000.com/header.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/studio60/public_html/html/lesson5.php on line 12

Warning: include(http://www.studio6000.com/tutorside.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/studio60/public_html/html/lesson5.php on line 17

Warning: include() [function.include]: Failed opening 'http://www.studio6000.com/tutorside.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/studio60/public_html/html/lesson5.php on line 17
 

Body Backgrounds

Sometimes opening tags will have attributes and values.  These tags help define the tags even further.  For example, when it comes to the background of a page, you'll need to add attributes. The formula for attributes is:

attribute="value"

As shown above, the attribute must be connected to the value with an equal sign and the value must be placed in quotes.

Background Colors

To change the color of the background of your page insert the bgcolor attribute into the opening body tag, like so:


<body bgcolor="#FFFF99">
</body>

You can also insert and image as the background. To do this insert the background attribute, like so:


<body background="bricks.gif">
</body>

Next Lesson


Warning: include(http://www.studio6000.com/footer.htm) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/studio60/public_html/html/lesson5.php on line 76

Warning: include() [function.include]: Failed opening 'http://www.studio6000.com/footer.htm' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/studio60/public_html/html/lesson5.php on line 76