1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>:hover pseudo-class
</title>
5 <style type=
"text/css">p:hover
{ background-color : lime
}
6 a:hover
{ background-color : lime
}
8 tr:hover
{ background-color : green
}
9 td:hover
{ background-color : lime
}
11 table
{ border-spacing: 5px; }</style>
12 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
13 <link rel=
"prev" href=
"css3-modsel-17.html" title=
":visited pseudo-class">
14 <link rel=
"next" href=
"css3-modsel-18b.html" title=
":hover pseudo-class">
15 <link rel=
"last" href=
"css3-modsel-d5e.html" title=
"NEGATED :indeterminate with :checked">
16 <link rel=
"up" href=
"./index.html">
17 <link rel=
"top" href=
"../../index.html">
20 <p>The background color of this paragraph should turn to green when
21 the mouse pointer hovers either its text (
<strong>here
</strong>) or its whitespace background,
<strong>here
</strong>:
</p>
22 <address>The background color of
<a href=
"#foo">this anchor (
<strong>here
</strong>)
</a> should turn to green when the pointing device hovers over it.
</address>
37 <td>them (
<strong>here
</strong>).
</td>
48 <td>pointing device
</td>
53 <td>border spacing
</td>
56 <td>and when it is
</td>
57 <td>over the cells.
</td>
61 <td>Including
<strong>here
</strong>,
</td>