[html5] r3787 - [e] (0) <link> examples
whatwg at whatwg.org
whatwg at whatwg.org
Thu Sep 10 02:10:17 PDT 2009
Author: ianh
Date: 2009-09-10 02:10:16 -0700 (Thu, 10 Sep 2009)
New Revision: 3787
Modified:
index
source
Log:
[e] (0) <link> examples
Modified: index
===================================================================
--- index 2009-09-10 09:02:36 UTC (rev 3786)
+++ index 2009-09-10 09:10:16 UTC (rev 3787)
@@ -10669,9 +10669,43 @@
this element; the <a href=#styling>styling processing model</a> defines
how. <a href=#refsCSSOM>[CSSOM]</a></p>
+ <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>
<dl class=element><dt>Categories</dt>
Modified: source
===================================================================
--- source 2009-09-10 09:02:36 UTC (rev 3786)
+++ source 2009-09-10 09:10:16 UTC (rev 3787)
@@ -11206,9 +11206,43 @@
this element; the <span>styling processing model</span> defines
how. <a href="#refsCSSOM">[CSSOM]</a></p>
+ <div class="example">
+ <p>Here, a set of <code>link</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">The <dfn><code>meta</code></dfn> element</h4>
<dl class="element">
More information about the Commit-Watchers
mailing list