Skip to content

Commit

Permalink
Replace obsolete with deprecated (mdn#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
alattalatta authored Feb 24, 2021
1 parent 5645461 commit 608febc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions files/en-us/web/html/element/a/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,28 +99,28 @@ <h4>Note</h4>
<dd>Hints at the linked URL’s format with a {{Glossary("MIME type")}}. No built-in functionality.</dd>
</dl>

<h3 id="Obsolete_attributes">Obsolete attributes</h3>
<h3 id="Deprecated_attributes">Deprecated attributes</h3>

<dl>
<dt id="charset">{{HTMLAttrDef("charset")}}{{Obsolete_Inline("HTML5")}}</dt>
<dt id="charset">{{HTMLAttrDef("charset")}}{{Deprecated_Inline}}</dt>
<dd>Hinted at the {{Glossary("character encoding")}} of the linked URL.
<div class="notecard note">
<h4>Note</h4>
<p>This attribute is obsolete and <strong>should not be used by authors</strong>. Use the HTTP {{HTTPHeader("Content-Type")}} header on the linked URL.</p>
<p>This attribute is deprecated and <strong>should not be used by authors</strong>. Use the HTTP {{HTTPHeader("Content-Type")}} header on the linked URL.</p>
</div>
</dd>
<dt id="coords">{{HTMLAttrDef("coords")}}{{Obsolete_Inline("HTML5")}}</dt>
<dt id="coords">{{HTMLAttrDef("coords")}}{{Deprecated_Inline}}</dt>
<dd>Used with <a href="#shape">the <code>shape</code> attribute</a>. A comma-separated list of coordinates.</dd>
<dt id="name">{{HTMLAttrDef("name")}}{{Obsolete_Inline("HTML5")}}</dt>
<dt id="name">{{HTMLAttrDef("name")}}{{Deprecated_Inline}}</dt>
<dd>Was required to define a possible target location in a page. In HTML 4.01, <code>id</code> and <code>name</code> could both be used on <code>&lt;a&gt;</code>, as long as they had identical values.
<div class="notecard note">
<h4>Note</h4>
<p>Use the global attribute {{HTMLAttrxRef("id")}} instead.</p>
</div>
</dd>
<dt id="rev">{{HTMLAttrDef("rev")}}{{Obsolete_Inline("HTML5")}}</dt>
<dt id="rev">{{HTMLAttrDef("rev")}}{{Deprecated_Inline}}</dt>
<dd>Specified a reverse link; the opposite of <a href="#rel">the <code>rel</code> attribute</a>. Deprecated for being very confusing.</dd>
<dt id="shape">{{HTMLAttrDef("shape")}}{{Obsolete_Inline("HTML5")}}</dt>
<dt id="shape">{{HTMLAttrDef("shape")}}{{Deprecated_Inline}}</dt>
<dd>The shape of the hyperlink’s region in an image map.
<div class="notecard note">
<h4>Note</h4>
Expand Down

0 comments on commit 608febc

Please sign in to comment.