当前位置:网站首页>URI, URL and urn difference, relation and syntax diagram
URI, URL and urn difference, relation and syntax diagram
2022-06-13 01:27:00 【lizongti】
URI、URL and URN difference 、 Connection and grammar diagram
Definition
- URI = Universal Resource Identifier Uniform resource identifier
- URL = Universal Resource Locator Uniform resource locator
- URN = Universal Resource Name Unified resource name
Relationship
The relationship among the three is shown in the figure below :
URI There are three kinds of :
- URL : Represents the path address of the resource , It doesn't have to be HTTP URL (http://),URL It can also be (ftp://) or (smb://)
- URN : Represents the unique name of the resource , It does not mean that the identified resources are available .
- URL & URI : It also contains the path address and unique name of the resource
give an example
RFC3986 Example :
URL: ftp://ftp.is.co.za/rfc/rfc1808.txt
URL: http://www.ietf.org/rfc/rfc2396.txt
URL: ldap://[2001:db8::7]/c=GB?objectClass?one
URL: mailto:John.[email protected].com
URL: news:comp.infosystems.www.servers.unix
URL: telnet://192.0.2.16:80/
URN (not URL): urn:oasis:names:specification:docbook:dtd:xml:4.1.2
URN (not URL): tel:+1-816-555-1212 (?)
grammar
URL Grammar diagram , as follows 
URI Grammar diagram , as follows :
边栏推荐
- Polymorphism and virtual function
- Wangdao machine test - Chapter 6 - maximum common divisor GCD and minimum common multiple LCM
- leetcode 206. Reverse linked list
- Tkinter library installation
- Characteristics of transactions - persistence (implementation principle)
- A problem discovery and attempted solution to the strange stop of server script
- MySQL index
- Simple operation of MySQL database
- [从零开始学习FPGA编程-22]:进阶篇 - 架构 - FPGA内部硬件电路的设计与建模
- ES6 deconstruction assignment
猜你喜欢

使用Pygame创建一个简单游戏界面

How does Apple add QQ email?

DFS and BFS notes (II): depth first search (implemented in C language)

Memory learning book reference

Network communication tcp/ip

A problem discovery and attempted solution to the strange stop of server script

Leetcode question brushing 03 stack

Database query user mailbox

Five classic articles worth reading

Happy string
随机推荐
Minimum score of one question per day
Create a simple game interface using pyGame
软件测试的几种分类,一看就明了
spiral matrix visit Search a 2D Matrix
[从零开始学习FPGA编程-22]:进阶篇 - 架构 - FPGA内部硬件电路的设计与建模
Argparse command line passes list type parameter
工作与生活
Leetcode 01 array
Leetcode find duplicates
Answer to matrix theory of Nanjing University of Aeronautics and Astronautics
leetode. 242. valid Letter heteronyms
HashSet underlying source code
Exercise 5.14 input n strings, arrange them in alphabetical order and output them.
Reinstall opencv and step on the pit.
Mathematical knowledge arrangement: extremum & maximum, stagnation point, Lagrange multiplier
Getting started with phaser 3
Leetcode-17- letter combination of phone number (medium)
Sliding window summary of TCP connections
Tangent and tangent plane
Ecological convergence NFT attacks, metaverse ape leads the new paradigm revolution of Web 3.0 meta universe