<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.8.3.js'></script>
<script type='text/javascript'>
$(function(){
$('#someDiv').hover
(function(){
$(this).css({'background-color': 'black'});
},
function(){
$(this).css({'background-color': 'red'});
}
);
});
</script>
</head>
<body>
<div id="someDiv">Hello World</div>
</body>
</html>