The HTML5 Shiv enables use of HTML5 sectioning elements in legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9, Safari 4.x (and iPhone 3.x), and Firefox 3.x. This includes the basic createElement() shiv technique, along with monkeypatches for document.createElement and document.createDocumentFragment for IE6-8. It also applies basic styling for HTML5 elements for IE6-9, Safari 4.x and FF 3.x. HTML5 Shiv is maintained by Alexander Farkas, Jonathan Neal and Paul Irish, with many contributions from John-David Dalton. It is also distributed with Modernizr. Include the HTML5 shiv in the <head> of your page in a conditional comment and after any stylesheets. HTML5 Shiv works as a simple drop-in solution. In most cases there is no need to configure HTML5 Shiv or use methods provided by HTML5 Shiv.

Features

  • Enables use of HTML5 sectioning elements in legacy Internet Explorer
  • HTML5 Shiv works as a simple drop-in solution
  • There is no need to configure HTML5 Shiv or use methods provided by HTML5 Shiv
  • The elements option is a space separated string or array, which describes the full list of the elements to shiv
  • If shivCSS is set to true HTML5 Shiv will add basic styles to sectioning elements

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML

License

GNU General Public License version 3.0 (GPLv3)

Follow The HTML5 Shiv

The HTML5 Shiv Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of The HTML5 Shiv!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML

Registered

2021-06-10