blob: 7f8044358a27d889947cd79892c739947548bcb5 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Substring matching attribute selector (contains)</title>
<style type="text/css">p { background-color : red }
p[title*="bar"] { background-color : lime }</style>
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
<link rel="prev" href="css3-modsel-10.html" title="Substring matching attribute selector (end)">
<link rel="next" href="css3-modsel-13.html" title="Class selectors">
<link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
<link rel="up" href="./index.html">
<link rel="top" href="../../index.html">
</head>
<body>
<p title="foobarufoo">This paragraph should have a green background because
its title attribute contains &quot;bar&quot;</p>
</body>
</html>