마우스 포인터가 요소 위로 이동할 때 onmousemove 속성 트리거. 다음 코드를 시도하여 onmousemove를 구현할 수 있습니다. 속성 -
예시
<!DOCTYPE html>
<html>
<body>
<h3 id = "myid" onmousemove = "mouseMove()">
This is demo heading.
</h3>
<p>Click above and then release.</p>
<script>
function mouseMove() {
document.getElementById("myid").style.color = "red";
}
</script>
</body>
</html>