w3schools.com css hide code example Example 1: hide element using css #tinynav1 { display:none } Example 2: hide in css display:none;