Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> body { background: #ffffff url("img_tree.png") no-repeat right top; margin-right: 200px; } </style> </head> <body> <h1>Hello World!</h1> <p>Now the background image is only shown once, and it is also positioned away from the text.</p> <p>In this example we have also added a margin on the right side, so that the background image will not disturb the text.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_background_shorthand by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:04 GMT --> </html>
Result:
Try it Yourself - © w3schools.com