+ 5

What is the difference between URL, URI and URN ?

As french and beginner, I'm struggling with understanding the explainations found on the web ... So i thought some of you could give me a little help !

4th Dec 2018, 1:42 PM
Jess
Jess - avatar
7 Respostas
+ 2
It helps a user / client to find resources (documents / files / etc.) across a network. As a rough analogy, if you're looking for a very specific item in your house, a URI might tell you where to look (sock drawer), and/or describe what type of thing it is (hamster), and/or what name it is (Huey) so that you are not confused during your quest (not Dewey and not Louie). While the format (scheme) isn't required to be like this, a URI naming scheme could look like: http://www.my.house/2ndFloor/bedroom/dresser/sock_drawer/Huey.hamster From Wikipedia: "Such identification enables interaction with representations of the resource over a network, typically the World Wide Web, using specific protocols."
4th Dec 2018, 3:24 PM
Janning⭐
Janning⭐ - avatar
+ 4
That helps thanks. Can i ask what URi is useful for ?
4th Dec 2018, 2:34 PM
Jess
Jess - avatar
+ 4
I just realized that i am already using URI in HTML ... href = uri [CT]This attribute specifies an absolute URI that acts as the base URI for resolving relative URIs. (Found here https://www.w3.org/TR/html4/struct/links.html with many much informations) Thank you for your care janning, and your short explanation wich help me a lot !
4th Dec 2018, 5:31 PM
Jess
Jess - avatar
+ 3
Thanks again i feel less stupid now ! If i may ask again, can i use URI as a link in HTML or URL is the rule ?
4th Dec 2018, 4:14 PM
Jess
Jess - avatar
+ 1
I think you might find this useful: https://www.sololearn.com/Discuss/144328/?ref=app
4th Dec 2018, 2:24 PM
Janning⭐
Janning⭐ - avatar
+ 1
Yep, you got it! 👍😉
4th Dec 2018, 10:16 PM
Janning⭐
Janning⭐ - avatar
0
URL = uniform resource locator URI = upper respiratory infection URN = ashes go here hope that helps! ;)
19th Dec 2018, 1:03 PM
Richard
Richard - avatar