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
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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