I understand that css rules can target elements specified by attribute values, e.g.:
input[type=\"text\"] {}
Can I make a rule that targets ele
You can follow this pattern:
a:not([href]) input:not([type])
The attribute selector is used to select elements with the specified attribute.
:not is supported in all modern browsers and IE9+, if you need IE8 or lower support you're out of luck.