What is the difference between URL ("Uniform Resource Locator"), URI ("Uniform Resource Identifier") and URN ("Uniform Resource Name")?

1 answer 1

URL - the location of the location of the resource (there can be many locations).
URN - the location of the resource in the location.
URI - URN + URL (all data in one).


For example, we are looking for the Bible:

URL - library (and maybe a book club, a shop, a book man’s house, etc.).
URN - data on the location ^^^ (library - ID, shelf, row; book club - ISBN; bookman’s house - room number, book number in a row).
URI - URN + URL (library, fifth row, sixth regiment).

  • In general, here in Vick everything is quite detailed (even with an explanatory picture and a remark что, возможно, термины URL и URN скоро уйдут в прошлое. ) - avp
  • @avp, the fact that there is an explanation somewhere does not stop lazy (?) users. I could just throw a link or copy-paste, but this is not encouraged. - user207618
  • I just threw a link to anyone who wanted to find out where a lot of things are about these URLs (for example, ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))? for parsing (well, on RFC links, etc. junk)) - avp
  • @avp, such willing - dofiga and more. Just ask. - user207618
  • Why ask if you have already come across a suitable info? - avp