Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1100667 of Identifying resources on the Web

  • Revision slug: Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web
  • Revision title: Identifying resources on the Web
  • Revision id: 1100667
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment first draft
Tags: 

Revision Content

{{HTTPSidebar}}

The target of an HTTP request is called a "resource", which nature isn't defined further; it can be a document, a photo, or anything else. Each resource is identified by a Uniform Resource Identifier ({{Glossary("URI")}}) used throughout HTTP for identifying resources.

URIs, URLs and URNs

The most common form of URI is the Uniform Resource Locator ({{Glossary("URL")}}), which is known as web address.

Uniform Resource Identifiers (URIs)

Syntax

Scheme

Authority

Path

Query

Fragment

Examples

Absolute URIs

URI references

Referencing in the same document

List of common schemes

Scheme Description
data  
file  
ftp  
http/https  
mailto  
ssh  
tel  
urn  
view-source  
ws/wss  

Specifications

Specification Title
{{RFC("7230", "Uniform Resource Identifiers", "2.7")}} Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing

See also

Revision Source

<div>{{HTTPSidebar}}</div>

<p class="summary">The target of an HTTP request is called a "resource", which nature isn't defined further; it can be a document, a photo, or anything else. Each resource is identified by a Uniform Resource Identifier ({{Glossary("URI")}}) used throughout HTTP for identifying resources.</p>

<h2>URIs, URLs and URNs</h2>

<p>The most common form of URI is the Uniform Resource Locator ({{Glossary("URL")}}), which is known as <em>web address</em>.</p>

<h2>Uniform Resource Identifiers (URIs)</h2>

<h3>Syntax</h3>

<h4>Scheme</h4>

<h4>Authority</h4>

<h4>Path</h4>

<h4>Query</h4>

<h4>Fragment</h4>

<h3>Examples</h3>

<h4>Absolute URIs</h4>

<h4>URI references</h4>

<h4>Referencing in the same document</h4>

<h3>List of common schemes</h3>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Scheme</th>
   <th scope="col">Description</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>data</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>file</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>ftp</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>http/https</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>mailto</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>ssh</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>tel</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>urn</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>view-source</td>
   <td>&nbsp;</td>
  </tr>
  <tr>
   <td>ws/wss</td>
   <td>&nbsp;</td>
  </tr>
 </tbody>
</table>

<h2>Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
  <tr>
   <td>{{RFC("7230", "Uniform Resource Identifiers", "2.7")}}</td>
   <td>Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</td>
  </tr>
 </tbody>
</table>

<h2>See also</h2>

<ul>
 <li><a href="/en-US/docs/Learn/Common_questions/What_is_a_URL">What is a URL?</a></li>
</ul>
Revert to this revision