HTML and CSS Reference
In-Depth Information
Figure 2-6. How the page looks when the audio element is not supported
Currently Modernizr checks for over 20 HTML5 and CSS3 features and also includes
the shim technique covered in Recipe 2.4 . Each checked feature comes with its own
specific CSS classes and JavaScript property. Check out Modernizr's documentation at , which includes sample code for each feature that it
See Chapter 5 for more information and recipes on using HTML5 audio.
Modernizr isn't the only tool available to assess and work around this issue:
traditionally, “UA sniffing” or “browser sniffing” was used to determine which browser
a user was running. Then, the designer could implement browser-specific code to
customize the page.
Search WWH ::

Custom Search