| 1. |
What Is An Attribute Selector? |
|
Answer» You can also apply styles to HTML ELEMENTS with particular attributes. The style RULE below will match all the input elements having a type attribute with a value of text input[type = "text"] The advantage to this method is that the element is unaffected, and the color applied only to the desired text FIELDS. You can also apply styles to HTML elements with particular attributes. The style rule below will match all the input elements having a type attribute with a value of text input[type = "text"] The advantage to this method is that the element is unaffected, and the color applied only to the desired text fields. |
|