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?
A. :valid
B. :target
C. :read-only
D. :required
Answer: Option C
Solution(By Examveda Team)
Explanation: input:read-only {color: gray;}/* put all read only fields in gray */
Related Questions on CSS3 Fundamentals
Which of the following css property specifies an image to use as the background of an element?
A. background
B. background-img
C. background-image
D. none of the mentioned
Which of the following css property specifies a delay for the transition effect?
A. transition-delay
B. transition-effect
C. transition
D. transition-duration
A. rotateY()
B. rotate-Y()
C. rotate-Yaxis()
D. none of the mentioned
Which of the following property defines where a 3D element is based in the x- and the y-axis?
A. transform-style
B. perspective(n)
C. perspective-origin
D. none of the mentioned
Join The Discussion