Published on

Wait There Is A Hidden Attribute?


For a while, it felt like all these new features were coming in. The hidden attribute falls into the category of I never know this was there but can be extremely useful. The hidden attribute is the same thing as display: none

Support for the attribute is great except IE6-10. If nothing else, the element looks more readable.

<div hidden>hi</div>