HTML CSS examples for HTML Global Attribute:hidden
The hidden attribute is a boolean attribute to set if an element is no longer, relevant.
In XHTML, the hidden attribute must be defined as <element hidden="hidden">.
A hidden paragraph:
<!DOCTYPE html> <html> <body> <p hidden>This paragraph should be hidden.</p> <p>This is a visible paragraph.</p> </body><!--from w ww . j a v a 2s. c o m--> </html>