/

HTML / CSS / JavaScript Tutorial

HTML Event attribute: onmouseenter

[this page | pdf | back links]

The HTML onmouseenter attribute specifies the event that is triggered when the mouse pointer moves onto an element. It applies to all visible elements. It is often used in conjunction with the onmouseleave event.

 

It is like the onmouseover event (or the onmousemove event), except that the onmouseenter event only fires when the mouse first enters the element itself, whereas the onmouseover event also fires in response to the mouse moving into the element from a child element that is located within the original element.

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile