Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> div.example { pointer-events: none; } div.example2 { pointer-events: auto; } </style> </head> <body> <h2>The pointer-events Property</h2> <h3>Pointer-events: none</h3> <div class="example"> Click here: <a href="https://www.w3docs.com/learn-javascript.html">JavaScript Tutorial</a> </div> <h3>Pointer-events: auto</h3> <div class="example2"> Click here: <a href="https://www.w3docs.com/learn-css.html">CSS Tutorial</a> </div> </body> </html>