HTML Editor
Run
<!DOCTYPE html> <html lang="en-US"> <body> <h2 ontouchend="myFunction()">Touch me</h2> <script> function myFunction(){ alert("You touched me"); } </script> <p><strong>Note</strong>: This example is only for touch devices.</p> </body> </html>
OUTPUT
×
Save as
Private
Tag
AJAX
Canvas
CSS
Google Charts
HTML
Javascript
jQuery
JSON
SASS
SVG
Description
Save