URL vs URI

Firstly, know that:
- URLs are a type of URI
- URNs are a type of URI
- URCs are a type of URI
- etc..

---
URI 
 - a standard for identifying documents using a short string of numbers, 
letters, and symbols.
 - defined by https://datatracker.ietf.org/doc/html/rfc3986
 
Examples:
  - URLs
  - URNs
  - URCs
  - ...
 
--- 
URL
 - Contains information about how to fetch a resource from its location.
 - Always start with the protocol
 - Can be relative

Examples:
 - http://example.com/mypage.html
 - file:///home/user/file.txt
 - tel:1-888-555-5555
 
--- 
URN
 - Identifies a resource by a unique and persistent name, but doesn't necessarily tell you how to locate it on the internet. 
 - It usually starts with the prefix urn:

Examples:
 - urn:isbn:0451450523 to identify a book by its ISBN number.
 - urn:uuid:6e8bc430-9c3a-11d9-9669-0800200c9a66 a globally unique identifier
 
--- 
URC
 - Points to meta data about a document rather than to the document itself. 
An example of a URC is one that points to the HTML source code of a page

Examples:
 - like: view-source:http://example.com/

3
2
Gantousm 85 points

                                    URI stands for Uniform Resource Identifier. It is a string of
characters designed for exact identification of resources
and extensibility by the URI scheme. 
The purpose of a URI is to locate a resource(s) on the server hosting 
of the web service.

A URI’s format is <protocol>://<servicename>/<ResourceType>/<ResourceID>.

A URL is the most common type of (URI). URLs are essential to navigating the 
internet.RLs consist of multiple parts -- including a protocol and domain name 
that tell a web browser how and where to retrieve a resource.

3 (2 Votes)
0
0
0
Newtonjeep 95 points

                                    URI stands for Uniform Resource Identifier
The purpose of URI is to locate
a resource on the server 
hosting the web service.

A URI format is:
<protocol>://<servicename>/<ResourceType>/<ResourceID>

0
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
uri uri waht is a uri url vs. url vs. urn whtat is UrI What is a URI programming uri vs url vs path VS url / vs # in a url url / vs # base uri vs url URN vsURL what is uri location What URI stands for? url vs url what is uri reference uri or ur what is the @ in uri is a url a uri uri what is it url vsuri url vs what uri stands for what uri stands or what is a uri in programming what is a uri vs url what is a urn vs url what's a uri what happen in URI what is happen in URI URI. what is the use of uri url vs uri meaning What does URI stands for what is the ? in a uri web uri vs url wht is uri URI's + vs - in url url vs urn whats an URI wahat is uri urn vs url vs uri what is uri meaning What is URL and URi? what i a uri URI URL url vs uri vs path URi' uri with ? what to use for uri uri vs url examples uri and url difference URI what is? meaning of URI uri vs url; what is the uri what is the meaning of URI uri vs url difference uri vs urn URI ? http uri vs url uri vs url difference url vs uri url vs urn vs uri what does uri use uri explained uri vs ur; what uri what uri means what is a uri for ? vs & in url what is URI and URL URI and URI what is a URI uri vs url vs urn uri means uri versus url uri stands for whats a uri whats URI what does uri mean what is an URI uri what is uri meaning vs url what does uri stand for urn vs uri vs url uri vs urn vs url url vs uri vs urn examples uri web development urn vs url what is uri in api what is url and uri uri meaning uri meaini what is url define uri uri format what is uri vs url uri uri gives hyperlink difference url and uri what is the difference between url and uri URI v URL uri definition what is a url uri vs url example difference uri et url what is the difference between uri and url what is a uri what is uri format how can you differentiate between urls and uri's uri and url url and uri difference what is uri request uri vs url url or uri difference between url and uri uri examples url vs uri example URI url uri vs url vs uri uri vs url vs ur uri, url url vs uri vs urn url vs uri examples URI vs. URL Url and URI uri full form what is the difference uri and url difference between uri and url difference bw uri and url url vs rui uri vs url URI cs url diffference between URI and URL URL vs URI
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source