URIs

<uri>

Used to point to a file such as a graphic. CSS defines URIs as relative to a style sheet. URI stands for Uniform Resource Identifier, which is the new name for URLs. (Technically, URLs are a subset of URIs.) In CSS, which was first defined when URIs were still called URLs, this means that references to URIs will actually appear in the form url(<uri>). Fun!

Get CSS Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.