Sample on how to use data-href.js
<article data-href="https://github.com/nathanford/data-href/">
<h1><a href="https://github.com/nathanford/data-href/#readme">Learn more about data-href on github</a></h1>
<p><code>data-ref</code> is a quick bit of JavaScript to let you define an href on any element. This vanilla JS is library agnostic, and will degrade gracefully so long as your content also has a link to the desired URL.</p>
<small>More info: <a title="Learn about data attributes" href="http://html5doctor.com/html5-custom-data-attributes/">Learn about data attributes</a></small>
</article>
<script src="./data-href.js" type="text/javascript"></script>