how to call hover css in DOM code example Example: javascript hover event element.onmouseover = function() { //Hovering }