background js code example Example: js background document.body.style.background = "#f3f3f3 url('img_tree.png') no-repeat right top";