html make background of div an image code example Example: make image background of div background-image: url("photographer.jpg");