w3school image as background code example Example: background image css .selector { background-image: url(image.png); }