<url>

The standard CSS function for including external resources like images, fonts, or SVGs into your stylesheet.

Quick example

.hero {
  /* Loads an external image as a background */
  background-image: url('images/hero.jpg');
}

<url> Browser Support

Widely available Since 2016 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2016.

Safe to use without fallbacks.

1+
1+
1+
12+
ESC