उदाहरण
cursor प्रॉपर्टी से माउस होवर पर कर्सर शैली बदलें।
<!DOCTYPE html>
<html>
<body>
<h1 id="myID">हेडिंग 1</h1>
<p>माउस होवर से पहले और बाद में हेडिंग जांचें।</p>
<button type="button" onclick="display()">कर्सर बदलने के लिए क्लिक करें</button>
<script>
function display() {
document.getElementById("myID").style.cursor = "pointer";
}
</script>
</body>
</html>
सामान्य मान: auto, default, pointer, text, wait, help, move, not-allowed, zoom-in, zoom-out, grab, grabbing, कस्टम URL।