back next

Image Backgrounds

When you use an image for a background, that image is "tiled" - that is, the image is repeated in rows to fill the browser window.

    <body background="leaf.gif">
    <body background="leaf.jpg">

All you need to create a tiled image background is the background attribute, part of the <body> tag. The value of background is a filename or url that points to your image file.



Back to HTML tutor homepage | Back | Next | Email me