Chapter 2. Detecting HTML5 Features
Diving In
You may well ask, âHow can I start using HTML5 if older browsers donât support it?â But the question itself is misleading. HTML5 is not one big thing; it is a collection of individual features. So, you canât detect âHTML5 support,â because that doesnât make any sense. But you can detect support for individual features, like canvas, video, or geolocation.
Get HTML5: Up and Running now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.