Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

Attribute “ontouchstart” not allowed on element “div” at this point.

The ontouchstart attribute, used in devices with a touch screen, and not supported by all browsers, is not a valid attribute in the current HTML5 standard.

You can consider replacing it with the more generic onclick attribute, or still use it if you’re OK with its limitations.