Ver originalvar sp = document.getElementsByTagName("span"); for(var i = 0; i < sp.length;i++){ sp[i].innerHTML= "<contenido>";}