Skip to content

Commit

Permalink
Fix incorrectly placed note in rel attribute page (#3072)
Browse files Browse the repository at this point in the history
A note about rel="alternate" was placed under the definition for rel="author" instead.
  • Loading branch information
jameswestman authored Mar 13, 2021
1 parent cd13133 commit 59feb08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions files/en-us/web/html/attributes/rel/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,10 @@ <h2 id="Values">Values</h2>
&lt;link rel=alternate href="/fr/pdf" hreflang=fr type=application/pdf title="French PDF"&gt;</pre>
</li>
</ul>
<p class="note">Note: The obsolete <code>rev="made"</code> is treated as <code>rel="alternate"</code></p>
</dd>
<dt>{{htmlattrdef("author")}}</dt>
<dd>Indicates the author of the current document or article. Relevant for {{htmlelement('link')}}, {{htmlelement('a')}}, and {{htmlelement('area')}} elements, the <code>author</code> keyword creates a hyperlink. With {{htmlelement('a')}} and {{htmlelement('area')}}, it indicates the linked document (or <code>mailto:</code>) provides information about the author of the nearest {{htmlelement('article')}} ancestor if there is one, otherwise the entire document. For {{htmlelement('link')}}, it represents the author of the entire document.
<p class="note">Note: The obsolete <code>rev="made"</code> is treated as <code>rel="alternate"</code></p>
</dd>
<dd>Indicates the author of the current document or article. Relevant for {{htmlelement('link')}}, {{htmlelement('a')}}, and {{htmlelement('area')}} elements, the <code>author</code> keyword creates a hyperlink. With {{htmlelement('a')}} and {{htmlelement('area')}}, it indicates the linked document (or <code>mailto:</code>) provides information about the author of the nearest {{htmlelement('article')}} ancestor if there is one, otherwise the entire document. For {{htmlelement('link')}}, it represents the author of the entire document.</dd>
<dt>{{htmlattrdef("bookmark")}}</dt>
<dd>Relevant as the <code>rel</code> attribute value for the {{htmlelement('a')}} and {{htmlelement('area')}} elements, the bookmark provides a permalink for ancestor section, which is the nearest ancestor {{htmlelement('article')}} or {{htmlelement('section')}}, if there is at least one, otherwise, the nearest heading sibling or ancestor descendant, to the next..</dd>
<dt>{{htmlattrdef("canonical")}}</dt>
Expand Down

0 comments on commit 59feb08

Please sign in to comment.