blob: 36a4ca9c83fdca8a6b5abe44428393edcf81ee0c [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-12.html" title="Default attribute value">
<link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked">
<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>