JSFiddle - React, Tailwind, and code Playground
by spencerooni
HTML
<a href="/link">Hello</a>
JavaScript
var anchors = document.getElementsByTagName('a');
console.log(anchors);
for(i = 0;i < anchors.length; i++)
{
anchors[i].title = anchors[i].textContent;
}