Skip to content
Permalink
Browse files

[e] (0) add an example for rel=icon

git-svn-id: http://svn.whatwg.org/webapps@1559 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed May 8, 2008
1 parent e07d081 commit 8b8454e1196866ad98b15d25eb79ccb131e92f0c
Showing with 46 additions and 2 deletions.
  1. +22 −1 index
  2. +24 −1 source
23 index
title="">x</code>".

<li>
<p>Let <var title="">hight string</var> be the string after the "<code
<p>Let <var title="">height string</var> be the string after the "<code
title="">x</code>".

<li>
href="#sizes0">sizes</a></code> attribute must not represent icon sizes
that are not actually available in the linked resource.

<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 id=link-type8><span class=secno>4.12.3.10. </span>Link type "<dfn
id=license title=rel-license><code>license</code></dfn>"</h5>

25 source
<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
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>

0 comments on commit 8b8454e

Please sign in to comment.
You can’t perform that action at this time.