Public repo for the latest HTML5 JavaScript shim for IE to recognise and style the HTML5 elements.

Source code adds new HTML5 elements (which is simple code), but actually mirror's @jon_neal's IE Print Protector project. It's currently up to date, and for the full details and uncompressed source code see here:

To use this script, it must be included before the <body> element (i.e. in the <head>) but doesn't matter if it appears before or after the CSS - but for the sake of performance, it would make better sense to include the CSS first then this script.

<!--[if lt IE 9]>
<script src="//"></script>

Note that the protocol has been removed so you don't have to when including on an http or https page ref

Common question: what's the difference between the html5shim and the html5shivAnswer: nothing, one has an m and one has a v - that's it.

Dual licensed under the MIT or GPL Version 2 licenses


by raskolnikov

티스토리 툴바