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
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download 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