mdn.go-v.org

URIs

Uniform Resource Identifiers (URI) are used to identify "resources" on the web. URIs are commonly used as targets of HTTP requests, in which case the URI represents a location for a resource, such as a document, a photo, binary data. The most common type of URI is a Uniform Resource Locator (URL), which is known as the web address.

source: MDN Web Docslicence: CC BY-SA 2.5+ (MDN)database: /home/dbs/mdn.dbmode: tablerecords: 14753 (max_rowid)citation: https://developer.mozilla.org/

Uniform Resource Identifiers (URI) are used to identify "resources" on the web. URIs are commonly used as targets of HTTP requests, in which case the URI represents a location for a resource, such as a document, a photo, binary data. The most common type of URI is a Uniform Resource Locator (URL), which is known as the web address.

Full text

**Uniform Resource Identifiers (URI)** are used to identify "resources" on the web.
URIs are commonly used as targets of [HTTP](/docs/Web/HTTP) requests, in which case the URI represents a location for a resource, such as a document, a photo, binary data.
The most common type of URI is a Uniform Resource Locator (URL), which is known as the _web address_.

URIs can be used to trigger behaviors other than fetching a resource, including opening an email client, sending text messages, or executing JavaScript, when used in other places such as the [`href`](/docs/Web/HTML/Reference/Elements/a#href) of an HTML `<a>` link.

## Reference

The [URI reference](/docs/Web/URI/Reference) provides details about the components that make up a URI.

- [Schemes](/docs/Web/URI/Reference/Schemes)
- : The first part of the URI, before the `:` character, which indicates the protocol the browser must use to fetch the resource.
- [Authority](/docs/Web/URI/Reference/Authority)
- : The section that comes after the scheme and before the path.
It may have up to three parts: `user` information, `host`, and `port`.
- [Path](/docs/Web/URI/Reference/Path)
- : The section after the authority.
Contains data, usually organized in hierarchical form, to identify a resource within the scope of the URI's scheme and authority.
- [Query](/docs/Web/URI/Reference/Query)
- : The section after the path.
Contains non-hierarchical data to identify a resource within the scope of the URI's scheme and naming authority along with data in the path component.
- [Fragment](/docs/Web/URI/Reference/Fragment)
- : An optional part at the end of a URI starting with a `#` character.
It is used to identify a specific part of the resource, such as a section of a document or a position in a video.

## Guides

The [URI guides](/docs/Web/URI/Guides) help you work with URIs on the web.

- [Choosing between www and non-www URLs](/docs/Web/URI/Guides/Choosing_between_www_and_non-www_URLs)
- : Guidance on when sites should use a `www.` prefix in URLs (`www.example.com` vs `example.com`).

## Specifications

## See also

- [What is a URL?](/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_URL)

Fields

page_typelanding-page
tags
source: MDN Web Docslicence: CC BY-SA 2.5+ (MDN)year: —id: Web/URIcitation: https://developer.mozilla.org/en-US/docs/Web/URI

JSON · full text · full-text JSON

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.