I'd really like to implement some of the new features that come standard with HTML5 but I want to be able to do it in a way that doesn't break my site.I know that Progressive Enhancement and checking the useragent is always an option. Are there any better alternatives out there?
How would I go about migrating to HTML5 without alienating the majority of my user audience?
html5
2 Possible approaches:HTML5 Shims, which are code snippets to allow you to use HTML5 features but with error correcting backstopsModernizr, which is a toolkit to apply CSS classes on the body that you can use as part of detecting individual features and displaying warnings or disabling code if those classes are present or not present.The Detecting HTML 5 Features chapter of Dive Into HTML 5 is a great reference as well.