HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <h2 ontouchstart="myFunction()">Touch me</h2> <script> function myFunction(){ alert("You touched"); } </script> <p><strong>Note</strong>: This example is only for touch devices.</p> </body> </html>
OUTPUT
×

Save as Private