hidden attribute

hidden=hidden

Explanation

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:
ValueDescription
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.

Limitations:

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

Ask Questions

Ask Question