document.getElementById('header').style.color="red"
<h1 id="header">我的标题</h1> <p><b>注释:</b>是脚本改变了该元素的样式!</p>