javascript make html element hidden code example Example: set element hidden javascript isHidden = HTMLElement.hidden; HTMLElement.hidden = true | false;