HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
1559add an example for rel=icon2008-05-08 02:26
@@ -32483,21 +32483,21 @@ at the first element with the given ID must be treated as if it was cloned and r
 
   <ul>
 
    <li><p>If the keyword doesn't contain exactly one U+0078 LATIN
    SMALL LETTER X character, then this keyword doesn't represent
    anything. Abort these steps for that keyword.</p></li>
 
    <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
    title="">height string</var> start with a U+0030 DIGIT ZERO (0)
    character or contain any characters other than characters in the
    range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), then this
    keyword doesn't represent anything. Abort these steps for that
    keyword.</p></li>
 
    <li><p>Apply the <span>rules for parsing non-negative
@@ -32512,20 +32512,43 @@ at the first element with the given ID must be treated as if it was cloned and r
    icon with a width of <var title="">width</var> device pixels and a
    height of <var title="">height</var> device pixels.</p></li>
 
   </ul>
 
   <p>The keywords specified on the <code
   title="attr-link-sizes">sizes</code> attribute must not represent
   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
   with <code>link</code>, <code>a</code>, and <code>area</code>
   elements. For <code>link</code> elements, it creates a <span
   title="hyperlink link">hyperlink</span>.</p>
 
   <p>The <code title="rel-license">license</code> keyword indicates
   that the referenced document provides the copyright license terms

|