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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started 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