URI schemes
The scheme of a URI is the first part of the URI, before the :
character.
It indicates which protocol the browser must use to fetch the resource.
The scheme may affect how the rest of the URI is structured and interpreted.
Syntax
protocol:
protocol
- : A sequence of characters that identifies the protocol to use.
It should consist of only alphanumeric characters and the
+
,-
, and.
characters. Common schemes are:blob
- : Binary Large Object; a pointer to a large in-memory object
data
- : Data directly embedded in the URL
file
- : Host-specific file names
ftp
- :
{{Glossary("FTP","File Transfer Protocol")}}
- :
http
/https
- : Hyper text transfer protocol (and secure connections) (
{{glossary("HTTP")}}
/{{glossary("HTTPS")}}
)
- : Hyper text transfer protocol (and secure connections) (
javascript
- : URL-embedded JavaScript code
mailto
- : Electronic mail address
resource
{{Non-standard_inline}}
- : Firefox and Firefox browser extensions to load resources internally
ssh
- : Secure shell
tel
- : Telephone
urn
- : Uniform Resource Names
view-source
- : Source code of the resource
ws
/wss
- : WebSocket connections (and secure connections)
- : A sequence of characters that identifies the protocol to use.
It should consist of only alphanumeric characters and the
Specifications
{{Specifications}}