html hide an item code example
Example 1: how to hide div in html
document.getElementById('elementName').hide();
Example 2: how hide in html
#elementID{
display:none;
}
document.getElementById('elementName').hide();
#elementID{
display:none;
}