<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Hover and Focus Pseudo-Class Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css" media="all">
<!--
p:hover {border-style: dashed; background-color: yellow;}
input:hover {background-color: yellow; }
input:focus {background-color: #FFA500;}
-->
</style>
</head>
<body>

<p>Roll over me.</p>

<p>Now roll over me.</p>

<div>I won't do anything.<br /></div>

<form action="#">
<input type="text" size="40" value="Hover and then click into this field" />
</form>

</body>
</html>


CLOSE WINDOW | VIEW RENDERED PAGE