javascript BODY background
| background | NN 6 IE 4 DOM 1 |
| Read/Write | |
|
Provides the URL of the background image for the entire document. If you set a bgColor to the element as well, the color appears if the image fails to load; otherwise, the image overlays the color. |
|
| Example | |
document.body.background = "images/watermark.jpg"; |
|
| Value | |
Complete or relative URL to the background image file. |
|
| Default | |
None. |
|
Previous: javascript BODY bgColor
Next: javascript BODY aLink
319,Nickname,Homepage or email,Comments here,Add comment
