Modernizr

A JavaScript library designed to detect HTML5 and CSS3 features in various browsers. Provides a substantial amount of feature detection that allows for everything from graceful degradation to "cutting edge" feature enhancements.