Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[e] (0) add an example for rel=icon
- Loading branch information
Showing
with
46 additions
and
2 deletions.
-
+22
−1
index
-
+24
−1
source
|
|
|
|
|
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><!DOCTYPE HTML> |
|
|
<html> |
|
|
<head> |
|
|
<title>lsForums — Inbox</title> |
|
|
<link rel=icon href=favicon.png sizes="16x16"> |
|
|
<link rel=icon href=windows.ico sizes="32x32 48x48"> |
|
|
<link rel=icon href=mac.icns sizes="128x128 512x512 8192x8192 32768x32768"> |
|
|
<link rel=icon href=iphone.png sizes="59x60"> |
|
|
<link rel=icon href=gnome.svg sizes="any"> |
|
|
<link rel=stylesheet href=lsforums.css> |
|
|
<script src=lsforums.js></script> |
|
|
<meta name=application-name content="lsForums"> |
|
|
</head> |
|
|
<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> |
|
|
|
|
|
|
|
|
<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><!DOCTYPE HTML> |
|
|
<html> |
|
|
<head> |
|
|
<title>lsForums — Inbox</title> |
|
|
<link rel=icon href=favicon.png sizes="16x16"> |
|
|
<link rel=icon href=windows.ico sizes="32x32 48x48"> |
|
|
<link rel=icon href=mac.icns sizes="128x128 512x512 8192x8192 32768x32768"> |
|
|
<link rel=icon href=iphone.png sizes="59x60"> |
|
|
<link rel=icon href=gnome.svg sizes="any"> |
|
|
<link rel=stylesheet href=lsforums.css> |
|
|
<script src=lsforums.js></script> |
|
|
<meta name=application-name content="lsForums"> |
|
|
</head> |
|
|
<body> |
|
|
...</pre> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<h5>Link type "<dfn title="rel-license"><code>license</code></dfn>"</h5> |
|
|
|