InterviewSolution
Saved Bookmarks
| 1. |
How to detect whether a browser supports a particular feature using the Modernizr library. |
|
Answer» Modernizr is an open source, MIT-licensed JavaScript library that DETECTS SUPPORT for many HTML5 & CSS3 features. You should ALWAYS use the latest version. To use it, include the following highlighted <script> element at the top of your PAGE. <!DOCTYPE html> <html> <HEAD> <meta charset="utf-8"> <title>Dive Into HTML5</title> <script src="modernizr.min.js"></script> </head> <body></body> </html>Following are the Apis supported by Modernizr
|
|