html set a background image code example Example: background image css .selector { background-image: url(image.png); }