Handle 'base' tag