function shou () { document.getElementsByTagName('div').style.display = "block"; } <button onclick="shou()"> Показать</button>