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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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