html javascript funtion on hover code example Example: javascript hover event element.onmouseover = function() { //Hovering }