Level 12 Level 14
Level 13

Attribute selectors


7 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
[attribute]
Html elements with a specific attribute.
[attribute="value"]
Html elements with a specific attribute and value.
[attribute~="value"]
Element with the att attribute whose value is a whitespace-separated list of words, one of which is exactly "val".
[attribute|="value"]
Element with the att attribute, its value either being exactly "val" or beginning with "val" immediately followed by "-"
[attribute^="value"]
Used to select elements whose attribute value begins with a specified value.
[attribute$="value"]
Used to select elements whose attribute value ends with a specified value.
[attribute*="value"]
Represents an element with the att attribute whose value contains at least one instance of the substring "val".