<p>Un text <span>puis</span> <span>un autre</span></p>
var obj = document.querySelectorAll("span")[0]; // cible le premier span
obj.nextElementSibling.style.color = "red"; // cible le premier noeud après

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.