Skip to content

Commit

Permalink
further minor edits to RL
Browse files Browse the repository at this point in the history
  • Loading branch information
hvdsomp authored Dec 5, 2024
1 parent a8165db commit af8d191
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions robustlinks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ <h2>Table of Contents</h2>
<div class="t100_2"><div class="style3">
<a id="robust-links"><h1>2. How to provide Robust Links?</h1></a>

As is the case with any link in HTML, the default link target is provided by the <code>href</code> attribute. But a link to a resource can be turned into a Robust Link
As is the case with any link in HTML, the default link target is provided by the <code>href</code> attribute for the HTML <code>anchor (&lt;a&gt;)</code> element. But a link to a resource can be turned into a Robust Link
by including three <a href="https://html.spec.whatwg.org/#embedding-custom-non-visible-data-with-the-data-*-attributes">extension attributes</a> for
the HTML <code>anchor (&lt;a&gt;)</code> element: <code>data-originalurl</code>, <code>data-versiondate</code>, and <code>data-versionurl</code>.
that element: <code>data-originalurl</code>, <code>data-versiondate</code>, and <code>data-versionurl</code>.
Use of each attribute is recommended and their value is as follows:
<br />

Expand All @@ -301,7 +301,7 @@ <h2>Table of Contents</h2>
</ul>
</ul>

When the <code>data-*</code> attributes are provided in a machine-actionable manner, as detailed in the below sub-sections,
When these <code>data-*</code> attributes are provided in a machine-actionable manner, as detailed in the below sub-sections,
client applications can be devised that support several pathways to visit a linked resource:
<ul>
<li>Using <code>data-originalurl</code>: Visiting the resource after it was linked to.</li>
Expand Down

0 comments on commit af8d191

Please sign in to comment.