You set the style for each element, not its contents:
function init() { document.getElementById("about").style.color = 'blue'; }
With innerHTML you get / set the content of the element. Therefore, if you want to change your title, innerHTML is the way to go.
In your case, however, you just want to change the property of the element (change the color of the text inside it), so you are addressing the style property of the element itself.
Sirko source share