Prop Body Background
# Body background Property
[ Body Object](#)
* * *
## Definition and Usage
The background property sets or returns the value of the background attribute of the body element.
The background property describes the background image of the document.
## Syntax
bodyObject.background=_URL_
* * *
## Browser Support

The background property is supported in all major browsers.
* * *
## Example
## Example
Return the value of the background attribute of the body element:
document.write("Background image is: ")
document.write(document.getElementById("logo").background);
[Try it yourself Β»](#)
* * Body Object](#)
YouTip