URL object
Provides methods that create and revoke Uniform Resource Identifiers (URIs) for Blob, MSStream, and other objects.
![]() |
Members
The URL object has these types of members:
Methods
The URL object has these methods.
| Method | Description |
|---|---|
| createObjectURL |
Creates a URL for the specified object. |
| revokeObjectURL |
Revokes a URL from a document and frees the object associated with that URL. |
Remarks
The urls that are created by the URL object work with the image, video, audio, style, link, and script HTML tags. Additionally they can also be used for Cascading Style Sheets (CSS) backgroundImages, CSS fonts, or with the XMLHttpRequest object.
