title: javax.swing.text.html.HTMLDocument getElement ByName
body: <p>I am looking for ways to grab an element by name. I tried iterating one element at a time by using <code>Element.getAttributes.getAttributeNames()</code> and iterated through each element to find the name then checked it with the name I am looking for. Any alternatives or optimized way to grab the element directly?</p>