element.addEventListener('mouseover',someFunction);
element.onmouseover = function() {
//Hovering
}
// You can use jQuery
$("p").hover(function(){
$(this).css("background-color", "yellow");
}, function(){
$(this).css("background-color", "pink");
});
onmouseover event