document.querySelectorAll('[property]'); // All with attribute named "property" document.querySelectorAll('[property="value"]'); // All with "property" set to "value" exactly.