Drag the edges to resize the window.

Code Editor
Web Browser

Images can also be added to the backgrounds of HTML elements with the background-image property.

body { background-image: url("https://www.example.com/leaf.jpg"); }

The background-image can be set to a value of url().

1. url() - contains the URL of the image, enclosed in double quotes.

In the example above, the background of the body will be set to the image specified in double quotes. This technique can be used on nearly any HTML element.

Report a Bug
If you see a bug or any other issue with this page, please report it here.