config head and tag