An investigation on the synthesis, characterization and anti-corrosion properties of choline based ionic liquids as novel and environmentally friendly inhibitors for mild steel corrosion in 5% HCl.