-6

The [attribute|=value] selector is used to select elements with the specified attribute starting with the specified value.

1 Answers1

1

See the specification:

E[foo^="bar"] an E element whose "foo" attribute value begins exactly with the string "bar"

E[foo|="en"] an E element whose "foo" attribute has a hyphen-separated list of values beginning (from the left) with "en"

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335