create tag directive