What is the difference between a URI, a URL and a URN?

前端 未结 30 1304
小蘑菇
小蘑菇 2020-11-22 02:18

People talk about URLs, URIs, and URNs as if they\'re different things, but they look the same to the naked eye.

W

30条回答
  •  死守一世寂寞
    2020-11-22 02:39

    URI => http://en.wikipedia.org/wiki/Uniform_Resource_Identifier

    URL's are a subset of URI's (which also contain URNs).

    Basically, a URI is a general identifier, where a URL specifies a location and a URN specifies a name.

提交回复
热议问题