Domain name, HTTP, URL-- Head first into HTML

the protocol part (usually HTTP) tells the browser the method it should use to retrieve the resource

the website name (which consists of the server name and the domain name) tells the browser which computer on the internet to get the resource from (use DNS)

the absolute path tells the server what page you're after




Domain name: just a unique name that is used to locate your site.

Domain names are controlled by a centralized authority (ICANN) to make sure that only one person at a time uses a domain name.



website name vs. domain name

1) If you look at www.starbuzzcoffee.com, that’s a website name, but only the “starbuzzcoffee.com” part is the domain name. You could
also create other websites that use the same domain name, like corporate.starbuzzcoffee. com or employees.starbuzzcoffee.com. So
the domain name is something you can use for a lot of websites.

2) Buy a domain name is like buying a land, and you can build many websites in the land. 

 

Getting things into the server side










HTTP




A Uniform Resource  Locator (URL) is a global address that can be used to locate anything on the Web, including HTML pages, audio,
video, and many other forms of web content.
In addition to specifying the location of the resource, a URL also names the protocol that you can use to retrieve that resource.


2. 

HTTP: is also known as the Hyper Text Transfer Protocol. It's an agreed-upon method (a protocol) for transferrinng hypertext domcuments aournd the Web.


While “hypertext documents” are usually just HTML pages, the protocol can also be used to transfer images, or any other file that a web page might need.


HTTP is a simple request and response protocol. 






Absolute path


1. definition: an absolute path tells the server how to get from your root folder to a particular page or file. 






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值