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