Solution
The -NO group at the para position withdraws electrons by both the -I and -R effects. This stabilises the phenoxide ion by spreading its negative charge onto the nitro group, so p-nitrophenol loses H most easily and is the strongest acid.
The passage states that acidity varies with the substituent attached. Electron-withdrawing groups increase acidity, while electron-donating groups decrease it.
p-Cresol: the -CH group donates electrons (+I and hyperconjugation), which destabilises the phenoxide ion, so it is weaker than phenol.
p-Methoxyphenol: the -OCH group donates electrons by the +R effect, which also destabilises the phenoxide ion, so it is weaker than phenol.
Order of acidity: p-nitrophenol > phenol > p-cresol > p-methoxyphenol.
