Showing posts with label Canvas. Show all posts
Showing posts with label Canvas. Show all posts

Thursday, February 20, 2014

Checking for HTML5 Input type support


Every time a web page is rendered in a browser, a DOM is created. This document object model represents all the HTML elements of the page. Every element is represented in the DOM by a different object. All DOM objects share a set of common properties but some objects have more than others. In browsers that support HTML5 certain objects will have unique properties. A quick look at the DOM will tell you which features are supported. There are 4 basic techniques for detecting individual features which will be discussed.