Catalyzes the formation of the NeuAc-alpha-2,3-Gal-beta-1,4-GlcNAc-, NeuAc-alpha-2,3-Gal-beta-1,3-GlcNAc- or NeuAc-alpha-2,3-Gal-beta-1,3-GalNAc- sequences found in terminal carbohydrate groups of glycoproteins and glycolipids. The highest activity is to