complete tag wrapping