how to give local image path in css code example Example: how to set background image for web page in html local image body { background-image: url(/path/to/image.png); }