Set the attributes on the resulting tag