You can use the hover pseudo class to change a row’s background color when the user’s mouse is over the row. Pseudo classes are often used with links, but they can also be used with other tags.
Internet Explorer only supports the hover pseudo class for links.
tr:hover { background-color: #ffff00; }