<body background="">

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

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


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

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

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

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 pagenew window