- From: poot <cvsmail@w3.org>
- Date: Thu, 10 Sep 2009 17:58:26 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: <base> example. (whatwg r3786) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2955&r2=1.2956&f=h http://html5.org/tools/web-apps-tracker?from=3785&to=3786 =================================================================== 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:59:04 UTC