change display style to block with javascript code example Example: javascript display block document.getElementById("someElementId").style.display = "block";