CSS 3 Module <== Test # ==>
W3C Selectors 11 of 128 of the static tests category
Testing Date Revision
Substring matching attribute selector (contains) (ID #11) 12-november-2001 1.1

This paragraph should have a green background because its title attribute contains "bar"

p { background-color : red }
p[title*="bar"] { background-color : lime }
<p title="foobarufoo">This paragraph should have a green background because
its title attribute contains &quot;bar&quot;</p>