Spain enters the knockout stage with high confidence after topping Group H, while Austria qualified in dramatic fashion via a late stoppage time equaliser against Algeria.