getting text's tags