TAG
CSS
JavaScript
Result
Run
License
<h1 id="title"></h1>
.title { color: #FF0000; border-bottom: 1px solid #CCC; padding-bottom: 5px; }
window.addEventListener("load", function() { var elH1 = document.getElementById("title"); elH1.textContent = "Welcome"; elH1.className = "title"; });
Console
expand_less
License
License
by DevDic
Close