Implements tag format.