HTML and CSS Reference
In-Depth Information
Value end selector
The
[attribute$=value]
selector matches an element if its attribute value ends with the
specified string.
p[title$="1"] {}
In the following code, the value of the
title
attribute ends with “1” and will
therefore be matched by this rule:
<p title="paragraph 1"></p>