HTML and CSS Reference
Attribute selectors allow style to be added to elements based on their attributes and
The attribute selector will match elements that use the specified attribute, regardless
of its value.
This selector will match only input elements that use the type attribute, such as the
Attribute value selector
The [attribute=value] selector will match by both attribute and value.
Input elements that have their type attribute set to submit will be matched by this
rule, as in the following example:
Language attribute selector
The language attribute selector is used to match the lang attribute.