scheme://host:port/path?query#fragment
http://www.this-is-an-example.com:8080/exp1/index.php?id=1234#arch
以上例来解说,url结构如下:
- 协议 http:
- 域名 www.this-is-an-example.com
- 端口 8080
- 虚拟目录 /exp1/
- 文件 index.php
- 参数 id=1234
- 锚 arch
scheme://host:port/path?query#fragment
http://www.this-is-an-example.com:8080/exp1/index.php?id=1234#arch
以上例来解说,url结构如下:
本文标题:URL结构
本文链接:https://www.haomeiwen.com/subject/ysctwxtx.html
网友评论