Attaching different halogens also makes a difference. Fluorine is the most electronegative and so you would expect it to be most successful at pulling charge away from the -COO- end and so strengthening the acid.hence the acidity in increasing order is CH3COOH, CCl3COOH and CF3COOH