url有三种用法“ 绝对 URL - 指向另一个站点(比如 href="http://www.example.com/index.htm")相对 URL - 指向站点内的某个文件(href="index.htm")锚 URL - 指向页面中的锚(href="#top") 转载于:https://www.cnblogs.com/chenlongsheng/p/10058919.html