how to set background image in div using css code example Example: make image background of div background-image: url("photographer.jpg");