Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[e] (0) <base> example.
git-svn-id: http://svn.whatwg.org/webapps@3786 340c8d12-0b0e-0410-8428-c7bf67bfef74
- Loading branch information
|
||
</div> | ||
|
||
<div class=example> | ||
|
||
<p>In this example, a <code><a href=#the-base-element>base</a></code> element is used to set the | ||
<a href=#document-base-url>document base URL</a>:</p> | ||
|
||
<pre><!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>This is an example for the &lt;base&gt; element</title> | ||
<base href="http://www.example.com/news/index.html"> | ||
</head> | ||
<body> | ||
<p>Visit the <a href="archives.html">archives</a>.</p> | ||
</body> | ||
</html></pre> | ||
|
||
<p>The link in the above example would be a link to "<code title="">http://www.example.com/news/archives.html</code>".</p> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
<h4 id=the-link-element><span class=secno>4.2.4 </span>The <dfn><code>link</code></dfn> element</h4> |