- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 10 Sep 2009 08:58:10 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv892
Modified Files:
Overview.html
Log Message:
<base> example. (whatwg r3786)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2955
retrieving revision 1.2956
diff -u -d -r1.2955 -r1.2956
--- Overview.html 10 Sep 2009 08:38:37 -0000 1.2955
+++ Overview.html 10 Sep 2009 08:58:07 -0000 1.2956
@@ -9173,6 +9173,24 @@
must <a href="#reflect">reflect</a> the respective content attributes of the
same name.</p>
+ </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><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt>
<dd><a href="#metadata-content">Metadata content</a>.</dd>
<dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: <a href="#flow-content">flow content</a>.</dd>
Received on Thursday, 10 September 2009 08:58:20 UTC