HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/1559

File a bug

SVNBugCommentTime (UTC)
1559add an example for rel=icon2008-05-08 02:26
Index: source
===================================================================
--- source	(revision 1558)
+++ source	(revision 1559)
@@ -32490,7 +32490,7 @@
    <li><p>Let <var title="">width string</var> be the string before
    the "<code title="">x</code>".</p></li>
 
-   <li><p>Let <var title="">hight string</var> be the string after the
+   <li><p>Let <var title="">height string</var> be the string after the
    "<code title="">x</code>".</p></li>
 
    <li><p>If either <var title="">width string</var> or <var
@@ -32519,7 +32519,30 @@
   icon sizes that are not actually available in the linked
   resource.</p>
 
+  <div class="example">
 
+   <p>The following snippet shows the top part of an application with
+   several icons.</p>
+
+   <pre>&lt;!DOCTYPE HTML>
+&lt;html>
+ &lt;head>
+  &lt;title>lsForums &mdash; Inbox&lt;/title>
+  &lt;link rel=icon href=favicon.png sizes="16x16">
+  &lt;link rel=icon href=windows.ico sizes="32x32 48x48">
+  &lt;link rel=icon href=mac.icns sizes="128x128 512x512 8192x8192 32768x32768">
+  &lt;link rel=icon href=iphone.png sizes="59x60">
+  &lt;link rel=icon href=gnome.svg sizes="any">
+  &lt;link rel=stylesheet href=lsforums.css>
+  &lt;script src=lsforums.js>&lt;/script>
+  &lt;meta name=application-name content="lsForums">
+ &lt;/head>
+ &lt;body>
+  ...</pre>
+
+  </div>
+
+
   <h5>Link type "<dfn title="rel-license"><code>license</code></dfn>"</h5>
 
   <p>The <code title="rel-license">license</code> keyword may be used

|