Show how selected tag in html works