how to give a div a background image code example Example: background css image background-image: url('./image.jpg');