close
- 放在<head></head>間
- 控制:共用網址路徑(href)、網頁開啟模式(target)
ex:
<base href="http://watermeloner.pixnet.net/blog" target="_blank">
參考網址:http://dob.tnc.edu.tw/themes/old/showPage.php?s=1781&t=3
================
網頁target 指向統一
<head>
<base href="http://www.w3schools.com/images/" />
<base target="_blank" />
</head>
參考網址:
-------------------------------------------------
http://www.w3schools.com/tags/tag_base.asp
Definition and Usage
The <base> tag specifies a default address or a default target for all links on a page.
The <base> tag goes inside the head element.
-------------------------------------------------
全站熱搜