Assuming example elements:
<a href="..." rel="...">...
<a href="..." rel="..." target="...">...
How can I match only the first element? I would like to tell jQuery to match only the <a> element which has an href and a rel attribute, but no other attributes. :not() requires me to mention specific attributes to exclude, but what about unknown ones?