setting the html of the span el