Selector pseudo-class :required

input:required
Selects input elements with the “required”
attribute specified