Javascript - add style

<span id="hello">Hello world</span>
document.getElementById("hello").style = "color:red";