HTML event onmouseover
Event Attribute onMouseOver
- The user starts hovering above the element
It stays at its current action even when the user hovers out of the element.
In this example, the color of the span text will change to red after the user starts hovering above it.
<span onmouseover="this.style.color='#FF0000';">Place your cursor on top of me</span>