HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> #point{ border:1px solid #8c8c8c; background:#f2f2f2; max-width:300px; min-height:150px; margin-bottom:10px; } </style> </head> <body> <h2>CSS cursor Property</h2> <div id="point"> Click on the button and move your mouse pointer over this div. </div> <button onclick="myFunction()">Click Me</button> <script> function myFunction(){ var x = document.getElementById("point"); x.style.cursor="not-allowed" } </script> </body> </html>
OUTPUT
×

Save as Private