18 lines
761 B
HTML
18 lines
761 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>Attribute existence selector</title>
|
|
<style type="text/css">p { background-color : red }
|
|
p[title] { background-color : lime }</style>
|
|
<link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
|
|
<link rel="prev" href="css3-modsel-4.html" title="Omitted universal selector">
|
|
<link rel="next" href="css3-modsel-6.html" title="Attribute value selector">
|
|
<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="title">This paragraph should have a green background because its TITLE
|
|
attribute is set.</p>
|
|
</body>
|
|
</html> |