

HCl is a strong acid compared to acetic acid because whr=en dissolved in water, HCl undergoes complete dissociation to give H+ and Cl-, but acetic acid dissociates to give CH3COO- and H+. The CH3COO- does not undergo dissociation completely.
The strength of an acid also depends on the solvent basicity (tendency to accept a proton), so that acids which are strong in water may be weak in less basic solvents, and acids which are weak in water may be strong in more basic solvents. According to Brønsted–Lowry acid–base theory, the acidity of an acid HA in a solvent S is due to the acid-base reaction HA + S → A− + HS+. The more basic the solvent is, the stronger will be the acid dissolved in it.
