html default hide code example Example: html hide a div by default <div class="toshow" style="display:none"></div>