display block inline css js code example Example: style display block js document.getElementById("myDIV").style.display = "block";