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