The collateral ligaments of the foot are attached to the dorsal tubercles on the metatarsal heads and the corresponding side of the phalangeal bases.