Short URL: http://html5.org/r/3786
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 3786 | <base> example. | 2009-09-10 09:02 |
Index: source =================================================================== --- source (revision 3785) +++ source (revision 3786) @@ -10820,8 +10820,30 @@ </div> + <div class="example"> + <p>In this example, a <code>base</code> element is used to set the + <span>document base URL</span>:</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>The <dfn><code>link</code></dfn> element</h4> <dl class="element">