changed the span tag attributes