html document.getElementById().setAttribute("display", "block"); code example Example: javascript display block document.getElementById("someElementId").style.display = "block";