title: Javascript How can I get the href from no id anchor tag?
body: <pre><code>&lt;a href="href"&gt;inner&lt;/a&gt;
  </code></pre>
  
  <p>Function below doesn't work because there's no id:</p>
  
  <pre><code>document.getElementById("???").href
  </code></pre>