Removes an attribute from the selected elements, when present.