<!DOCTYPE html><html><head>
<title>:hover pseudo-class</title>
<style type="text/css">p:hover { background-color : lime }
a:hover { background-color : lime }
tr:hover { background-color : green }
td:hover { background-color : lime }
table { border-spacing: 5px; }</style>
<link rel="author" title="Daniel Glazman" href="http://glazman.org/">
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
<link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors">
<meta name="flags" content=" interact">
</head>
<body>
<p>The background color of this paragraph should turn to green when
the mouse pointer hovers either its text (<strong>here</strong>) or its whitespace background, <strong>here</strong>:</p>
<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>
<table></table>
</body></html>