Me!

TJ VanToll

HTML 5 hidden Attribute Browser Support

| Comments

I had trouble finding this from a Google search, so I thought I’d list the browser support for the HTML5 hidden attribute here.

  • IE 11+
  • Chrome 6+
  • Firefox 4+
  • Safari 5.1+
  • Opera 11+
  • iOS 5+
  • Android Browser 4+

For any unsupported browser you can easily add support by just including the following CSS:

[hidden] { display: none; }

This will work back to IE6, which doesn’t support the attribute selector.

Updates

  • November 13th, 2013: Added that IE11 now supports the hidden attribute per comment from Michał Gołębiowski.

Comments