Skip to content
This repository

This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer.

branch: iepp-htc

This branch is 16 commits ahead and 211 commits behind master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test

html5shiv (htc version)

How To Use

  • add iepp.js and to your project (both files have to be in the same folder)

- js
-   html5shiv.js
-   jquery.js
- index.html

  • include iepp.js into your webpage

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

  • make sure that your server serves .htc files with 'text/x-component' mime type

#Apache config: add text/x-component for .htc files
AddType text/x-component .htc


Same domain/same origin policy html5shiv.js and has to be served from the same domain as the HTML, which uses html5shiv.

Something went wrong with that request. Please try again.