Skip to content

Commit

Permalink
[e] (0) Discuss the difference between rel='' on <link> and <a>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1706 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 27, 2008
1 parent 1a855cd commit 277ff24
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion index
Expand Up @@ -25,7 +25,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 26 May
<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 27 May
2008</h2>

<p>You can take part in this work. <a
Expand Down Expand Up @@ -7819,6 +7819,15 @@ onActivate, onBeforeDeactivate, onDeactivate, document.hasFocus):
resource (as given by the <code title=attr-link-type><a
href="#type">type</a></code> attribute).

<p class=note>Hyperlinks created with the <code><a
href="#link">link</a></code> element and its <code title=attr-link-rel><a
href="#rel">rel</a></code> attribute apply to the whole page. This
contrasts with the <code title=attr-hyperlink-rel><a
href="#rel3">rel</a></code> attribute of <code><a href="#a">a</a></code>
and <code><a href="#area">area</a></code> elements, which indicates the
type of a link whose context is given by the link's location within the
document.

<p>The <dfn id=media0 title=attr-link-media><code>media</code></dfn>
attribute says which media the resource applies to. The value must be a
valid <a href="#mq">media query</a>. <a href="#refsMQ">[MQ]</a>
Expand Down
8 changes: 8 additions & 0 deletions source
Expand Up @@ -6232,6 +6232,14 @@ onActivate, onBeforeDeactivate, onDeactivate, document.hasFocus):
of the resource (as given by the <code
title="attr-link-type">type</code> attribute).</p>

<p class="note">Hyperlinks created with the <code>link</code>
element and its <code title="attr-link-rel">rel</code> attribute
apply to the whole page. This contrasts with the <code
title="attr-hyperlink-rel">rel</code> attribute of <code>a</code>
and <code>area</code> elements, which indicates the type of a link
whose context is given by the link's location within the
document.</p>

<p>The <dfn title="attr-link-media"><code>media</code></dfn>
attribute says which media the resource applies to. The value must
be a valid <a href="#mq">media query</a>. <a
Expand Down

0 comments on commit 277ff24

Please sign in to comment.