Problem Statement
Which selector targets all input elements with type='text'?
Explanation
The attribute selector input[type='text'] applies styles to input fields whose type is text. It’s useful for form-specific styling and improving UI consistency.
Code Solution
SolutionRead Only
input[type='text'] { border: 1px solid gray; }Practice Sets
This question appears in the following practice sets:
