Step 1: Understanding intramolecular hydrogen bonding.
Intramolecular hydrogen bonding occurs when a molecule contains a hydrogen bond between two atoms within the same molecule.
Step 2: Analyzing the options.
(A) Ethanol: Ethanol has intermolecular hydrogen bonding, but not intramolecular.
(B) o-nitrophenol: Correct — o-nitrophenol has intramolecular hydrogen bonding between the hydroxyl group and the nitro group.
(C) Water: Water has intermolecular hydrogen bonding, not intramolecular.
(D) Ammonia: Ammonia also has intermolecular hydrogen bonding, not intramolecular.
Step 3: Conclusion.
The correct answer is (B) o-nitrophenol, as it exhibits intramolecular hydrogen bonding.