

完整的URL地址:http://user:pass@host.com:80/path?query=string#hash
http:// 协议
user:pass@ 代表访问资源的身份使用用户名和密码
host.com 用来定位资源的服务器在互联网中的位置(可以是IP 也可以是 域名)
:80 端口,每台物理服务器可以跑很多软件的web服务,端口就是监听物理服务器上面某个具体的web服务
/path 路由,web 服务器里面的内容可以通过路由进行定位
?query=string 搜索参数
#hash 查找文档的某个片段

网友评论