JavaScript Alterar conteúdo do elemento H

document.getElementById("yourH1_element_Id").innerHTML = "yourTextHere";
Armandres