change span text element with html code example Example: set span text $("#spanID").text('your text');