HTML and CSS Reference
In-Depth Information
Name
Beginning Substring Attribute Value Selector
Pattern:
element1[attr^="substring"]
Description:
This allows authors to select any element based on a substring at the very beginning of an at-
tribute's value.
Examples:
a[href^="/blog"] {text-transform: uppercase;}
p[class^="test-"] {background: yellow;}
Search WWH ::




Custom Search