base href=https://www.gxlcms.com/"https://www.gxlcms.com/http://www.w3school.com.cn/i/https://www.gxlcms.com/" />
base target=https://www.gxlcms.com/"https://www.gxlcms.com/_blankhttps://www.gxlcms.com/" />
"https://www.gxlcms.com/eg_smile.gifhttps://www.gxlcms.com/" />
请注意,我们已经为图像规定了一个相对地址。由于我们已经在 head 部分规定了一个基准 URL,浏览器将在如下地址寻找图片:
https://www.gxlcms.com/"https://www.gxlcms.com/http://www.w3school.com.cn/i/eg_smile.gifhttps://www.gxlcms.com/"
"https://www.gxlcms.com/http://www.w3school.com.cnhttps://www.gxlcms.com/">W3School
请注意,链接会在新窗口中打开,即使链接中没有 target=https://www.gxlcms.com/"https://www.gxlcms.com/_blankhttps://www.gxlcms.com/" 属性。这是因为 https://www.gxlcms.com/base 元素的 target 属性已经被设置为 https://www.gxlcms.com/"https://www.gxlcms.com/_blankhttps://www.gxlcms.com/" 了。
"https://www.gxlcms.com/Content-Typehttps://www.gxlcms.com/" content=https://www.gxlcms.com/"https://www.gxlcms.com/text/html; charset=gb2312https://www.gxlcms.com/" />
"https://www.gxlcms.com/Content-Languagehttps://www.gxlcms.com/" content=https://www.gxlcms.com/"https://www.gxlcms.com/zh-cnhttps://www.gxlcms.com/" />
base target=https://www.gxlcms.com/"https://www.gxlcms.com/_blankhttps://www.gxlcms.com/" />
"https://www.gxlcms.com/http://www.w3school.com.cnhttps://www.gxlcms.com/" target=https://www.gxlcms.com/"https://www.gxlcms.com/_blankhttps://www.gxlcms.com/">这个连接 将在新窗口中加载,因为 target 属性被设置为 https://www.gxlcms.com/"https://www.gxlcms.com/_blankhttps://www.gxlcms.com/"https://www.gxlcms.com/。
"https://www.gxlcms.com/http://www.w3school.com.cnhttps://www.gxlcms.com/">这个连接https://www.gxlcms.com/ 也将在新窗口中加载,即使没有 target 属性。