javascript change element style display code example Example: style display block js document.getElementById("myDIV").style.display = "block";