HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
A hidden paragraph
The hidden
attribute is a boolean attribute.
When present, it specifies that an element is not yet, or is no longer, relevant.
Browsers should not display elements that have the
hidden
attribute
specified.
The hidden
attribute can also be used to keep a user from seeing an element
until some other condition has been met (like selecting a checkbox, etc.). Then,
a JavaScript could remove the hidden attribute, and make the element visible.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
hidden | 6.0 | 11.0 | 4.0 | 5.1 | 11.1 |
HTML Tutorial: HTML Attributes
CSS Tutorial: CSS Display and Visibility
CSS Reference: CSS display Property
CSS Reference: CSS visibility Property