hidden attribute



Hidden Attribute is used to hide an element in a webpage. Any element added with this attribute will be concealed i.e. hidded by the browser.
<input hidden="hidden">Text</input>
Values added with this attribute are:
hidden Content will be concealed.

Example Code:

Result :

You can see this content

  • Person who developed the site, can hide important elements for his reference.
  • The hidded items can be viewed only by the admin side.
  • It is a boolean attribute.
It is applicable in all the elements in HTML5. It is available in the previous versions of HTML.


It will function in all major browsers, except Internet Explorer.

Ask Questions

Ask Question