Since HTML5 is getting more attention for bringing more efficient and cleaner code to our new web pages, however the only way to make IE recognize those new elements (such as
Use and download
HTML5.js must be called within the head element of the page (because IE must know this element before the element is parsed, so this js file cannot be called at the bottom of the page.)
The author has Put the js file on the Google code project and allow everyone to call it directly. Of course, the premise is that you don't care about calling additional files.
http://html5shiv.googlecode.com/svn/trunk/html5.js
You can use IE conditional comments to call this js file, so that non-IE browsers such as FireFox will ignore this code. There will be no unnecessary http requests. The following code will only run under IE browser: