CSS Lang Attribute Selector
Structure
element1[lang|="lc"]
Description
This selector allows us to select elements with a lang-attribute whose value is a list of values separated by hyphens, which starts with the value in the selector.
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
All | All | 7+ | All | All |