<div style='display: none; width: 100px; height: 100px; background:red'></div> <button onclick='show()'> Показать</button> <script> function show() { document.getElementsByTagName('div')[0].style.display = "block"; return false; } </script>