body background image


<body background="">

Browser
Internet Explorer Firefox Opera
Type
Deprecated

The background attribute of the BODY element specifies the background image of the document.


<body background="back.gif">


Attribute Value Explanation
background=" " URL the URL of the image to display

The use of this attribute is deprecated. (Use CSS instead)

Tips and Notes

Use CSS instead of deprecated HTML. Please see the "Related Document" for details on CSS.


Example

<html>
<head>
<title>TAG index</title>
</head>
<body background="image/back.gif" bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000">



</body>
</html>
Output
Background Image back.gif
Example page