halide ions react with silver nitrate solution in the presence of dilute nitric acid to form precipitates
chlorides form a white precipate of silver chloride
bromides form a cream precipitate of silver bromide
iodides form a yellow precipitate of silver iodide