changes the style of tag while all tags are displayed