Learn HTML Today

Index

  HTML Tutorials
  GuruSearch!
  Web Glossary
  LiveWire Forums

Tutorials

  Getting Started
  Text
  Links
  Colors
  Backgrounds
  Images
  Tables
  Frames
  Image Maps

Advanced

  Design Guide
  Forms
  Meta Tags
  JavaScript
  Style Sheets
  SSI
  CGI
  Web Browsers

Resources

  HTML Editors
  Free Web Hosting
  Domain Names
  Copyrights
    Backgrounds

In addition to specifying background color, web page creators can specify a background pattern. A background pattern is usually a small GIF image designed to repeat itself over the page in such a way that this repetition is seamless.

A pattern is easily added to a document by slightly modifying the body tag:

<BODY BACKGROUND="bg-grey.gif">

Patterned backgrounds should be used with restraint because they can significantly slow download time. Because of this, they should be kept small and shouldn't be used at all on pages that already contain a large number of images.

Also, no matter how subtle patterns are, they almost always impair reading. Even if this effect is only slightly noticeable, it should be carefully considered by the page designer. (While interlacing GIFs ordinarily gives the perception that images are downloading more quickly, interlacing background patterns slows page loading so GIFs used for background patterns should not be interlaced.)






Tell a friend about NetaGuru | Comment on NetaGuru | Bookmark NetaGuru


This page was last updated 12/12/03
Please read our disclaimer and legal notices.
All editorial content and graphics copyright 2002
NetaGuru.
Designed and maintained by David Jones and Reid Beels.
     
Advertisement:

Search the Best of the Web!