how to set background image in html using html code example Example: background image css .selector { background-image: url(image.png); }