Basic HTML version of Foils prepared 11 May 1997

Foil 14 Formatting a Web Page: Backgrounds

From Introduction to HTML--ECS400 fall 97 ECS400 Senior Undergraduate Course -- Spring Semester 97. by Nancy J. McCracken *

A nice feature in controlling the appearance of your web page (aren't you tired of so-called "Mosaic gray"?) is being able to design the background. This is done either by giving a plain color or by supplying an image to use for the background. Backgrounds are specified as an attribute to the <body> tag.
<body bgcolor="#HHHHHH">
<body background="URL">
where the URL refers to an image. Note that this image can be small - it will just be repeated as necessary to fill the browser window.
Many image files suitable for backgrounds are found at the web site http://www.netscape.com/assist/net_sites/bg/background.html
Other <body> attributes can specify colors for links.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Aug 26 1997