HTML | DOM touchstart Event
Note: The touchstart event works only on touch screen devices.
- All HTML element supported this event.
object.ontouchstart = myScript;
Below program illustrates the touchstart event :
After touching the screen
Supported Web Browsers
- Internet Explorer
- Google Chrome
- Apple Safari
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.