title: How to get the contents of a link tag with JavaScript
body: <p>Assuming I have</p>
  <pre><code>&lt;LINK rel=&quot;Index&quot; href=&quot;index.html&quot;&gt;
  &lt;LINK rel=&quot;Next&quot;  href=&quot;Chapter3.html&quot;&gt;
  &lt;LINK rel=&quot;Prev&quot;  href=&quot;Chapter1.html&quot;&gt;
  </code></pre>
  <p>(taken from the <a href="https://en.wikipedia.org/wiki/World_Wide_Web_Consortium" rel="nofollow noreferrer">W3C</a> web site sample)</p>
  <p>Are these accessible through the JavaScript DOM?</p>
  <p>I want to know if I have link tags like this in the HTML document, whether they are read like the main document and added to the DOM and if I can access their DOMs as well.</p>