Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body style="background:#f3f3f3 url('img_tree.png') no-repeat right top;"> <h1>HTML Style Object</h1> <h2>The background Property</h2> <p>The background properties are:</p> <p id="demo"></p> <script> let back = document.body.style.background; document.getElementById("demo").innerHTML = back </script> </body> </html>