Hidden elements using HTML5

HTML5 introduce the hidden attribute, which will allow you to hide a specific element. So no need to use css display:none anymore!

<div hidden>You can't see this text.This is hidden by HTML5 hidden attribute.</div>

Source: http://html5demos.com/hidden

3 replies
  1. mohammad mohsen
    mohammad mohsen says:

    How to show this elements again via jquery??

    We could use .hide/.show(jquery) or display:block/inline (css), but now what to do?


Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply