+ 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 !
7 Réponses
+ 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."
+ 4
That helps thanks.
Can i ask what URi is useful for ?
+ 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 !
+ 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 ?
+ 1
I think you might find this useful:
https://www.sololearn.com/Discuss/144328/?ref=app
+ 1
Yep, you got it! 👍😉
0
URL = uniform resource locator
URI = upper respiratory infection
URN = ashes go here
hope that helps! ;)