About URL

本文深入探讨了URI和URL的概念,解释了两者之间的区别,并详细阐述了URL的组成部分和用途。此外,文章还提供了关于URN的介绍,以及如何区分URL在不同情况下的应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Today,I want to access http://support.google.com/webmaster.Maybe because i use goagent or something else,i can't visit successfully.So i change my way:http://support.google.com/webmaster/?hl=en.It can work in my pc.

I want to know something about the syntax of url. So i write something here to record it .

First, let's introduce URI(uniform resource identifier(标识符)),it is a string or characters to identify a name or a web resource.Most of us  including me will wonder what's the difference between URI and URL(uniform resource Locators(定位符)) . URL belongs to URI, in other words ,URI can be classified as locators (URL),as names(URN).But what is URN(uniform resource name).Now do not anxious ,i will introduce it immediately. A URN functions likes a person's name while a URL resembles that people's street address.In other words: the URN defines an item's identity, while the URL provides a method for finding it.URN and URL have complementary purpose. 

URN,as the name suggest,is "name".For example ,when we talk about ISBN (international standard book number)978-7-5609-7700-3   ,it refers to a book's special version named 《language implementation patterns》.URN allows us to talk about the resource without implying it's location or how to access it(it is the business of URL).

The concept of the Uniform Resource Locator (URL) is to provide information on both the type of network service being accessed and the location, all in a single consistent syntax. Think of a URL as the network extension of a file pathname specification. In addition to specifying a file, it can tell where the file may be found on the network and what method may be used to access it. In fact, it can refer to more than just files. A URL may describe an email address, a network news group, or even an interactive program.A URL has up to four parts, the resource or service type identifier, the service hostname (computer system name), the pathname of file to be fetched or program to run, and for html files, optional anchor name within file where display should start.  https://pangea.stanford.edu/computing/hosting/urlsyntax/   http://en.wikipedia.org/wiki/Uniform_resource_locator(好懒阿  改天再补吧 TT)

I notice that some URL have http/https or www but some don not have.Here is  my result of query:http://ux.stackexchange.com/questions/13015/should-web-users-see-the-http-prefix-to-websites   http://ux.stackexchange.com/questions/13015/should-web-users-see-the-http-prefix-to-websites

  

For more information please click here: http://en.wikipedia.org/wiki/Uniform_resource_identifier;

                                                                       http://en.wikipedia.org/wiki/Uniform_resource_locator

                                                                       http://www.webopedia.com/TERM/U/URL.html


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值