Which of the following selector is used to select elements that are read-only. When applied to form elements, this would select fields with the readonly attribute set?

Which of the following selector is used to select elements that are read-only. When applied to form elements, this would select fields with the readonly attribute set? Correct Answer :read-only

Explanation: input:read-only {color: gray;}
/* put all read only fields in gray */

Related Questions

Which of the following selector selects elements that do not match the selector s?
Which Form control work with the readonly attribute?