相对 URL:一种不包含完整域名(协议、主机名等)的网页地址写法,只根据“当前页面的位置”来定位资源路径。常见于网站内部链接与静态资源引用。(相对的概念是 absolute URL 绝对 URL。)
/ˈrɛlətɪv ˌjuːˈɑːrˈɛl/
The image is linked with a relative URL like images/logo.png.
图片用相对 URL(如 images/logo.png)来链接。
If the base page moves to another folder, the same relative URL may point to a different file unless you update the path.
如果基准页面移动到另一个文件夹,同一个相对 URL 可能会指向不同文件,除非你更新路径。
Relative 来自拉丁语 relativus,表示“有关联的、相对于……的”;URL 是 Uniform Resource Locator(统一资源定位符)的缩写。合起来 relative URL 指“相对于当前文档/基准地址来解析的 URL”。