Link
< Base > is a link datum tag that changes the default values for all link markers in a file. It can only be adapted to the beginning of the file, that is, between Mark < head > and
<base href= "http://www.webjx.com/"/>
The above is consistent with the XHTML notation. In this way, the default path for all HTTP files and pictures (including relative path links and picture addresses) is set for the homepage of webjx.com, which can only be filled in a relative or absolute path.
General relative path link and picture address are default to the page is located in the directory as a starting point, if this method, all the links in the file will be webjx.com home as a starting point.
In the case where base is set, if there is a link to the following
<base href= "http://www.webjx.com/"/>
<body>
<a href= "/" > Web Teaching Network </a>
</body>
So, no matter where the link is on the page, it points to Ducky's private life.
In this way, we can also set all the links to open in a new window, that is, target= "_blank."
< base target= "_blank"/>
This way, all the links on the page will open in a new window.