- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 10 Sep 2009 09:05:52 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv1963 Modified Files: Overview.html Log Message: <link> examples (whatwg r3787) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2956 retrieving revision 1.2957 diff -u -d -r1.2956 -r1.2957 --- Overview.html 10 Sep 2009 08:58:07 -0000 1.2956 +++ Overview.html 10 Sep 2009 09:05:47 -0000 1.2957 @@ -9461,7 +9461,36 @@ always return false and does nothing on setting.</p><!-- that is normatively required in the definition of dom-linkstyle-disabled --><p>The <code>LinkStyle</code> interface is also implemented by this element; the <a href="#styling">styling processing model</a> defines - how. <a href="#refsCSSOM">[CSSOM]</a><h4 id="meta"><span class="secno">4.2.5 </span>The <dfn><code>meta</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</i><dl class="element"><dt>Categories</dt> + how. <a href="#refsCSSOM">[CSSOM]</a><div class="example"> + + <p>Here, a set of <code><a href="#the-link-element">link</a></code> elements provide some style + sheets:</p> + + <pre><!-- a persistent style sheet --> +<link rel="stylesheet" href="default.css"> + +<!-- the preferred alternate style sheet --> +<link rel="stylesheet" href="green.css" href="Green styles"> + +<!-- some alternate style sheets --> +<link rel="alternate stylesheet" href="contrast.css" href="High contrast"> +<link rel="alternate stylesheet" href="big.css" href="Big fonts"> +<link rel="alternate stylesheet" href="wide.css" href="Wide screen"></pre> + + </div><div class="example"> + + <p>The following example shows how you can specify versions of the + page that use alternative formats, are aimed at other languages, + and that are intended for other media:</p> + + <pre><link rel=alternate href="/en/html" hreflang=en type=text/html title="English HTML"> +<link rel=alternate href="/fr/html" hreflang=fr type=text/html title="French HTML"> +<link rel=alternate href="/en/html" hreflang=en type=text/html media=print title="English HTML (for printing)"> +<link rel=alternate href="/fr/html" hreflang=fr type=text/html media=print title="French HTML (for printing)"> +<link rel=alternate href="/en/html" hreflang=en type=application/pdf title="English PDF"> +<link rel=alternate href="/fr/html" hreflang=fr type=application/pdf title="French PDF"></pre> + + </div><h4 id="meta"><span class="secno">4.2.5 </span>The <dfn><code>meta</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Working draft</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> <dd>If the <code title="attr-itemprop"><a href="#names:-the-itemprop-attribute">itemprop</a></code> attribute is present: <a href="#phrasing-content">phrasing content</a>.</dd>
Received on Thursday, 10 September 2009 09:06:02 UTC