When everything is sharp from front to back, it heightens the sense of reality
Even though focal length per se has almost nothing to do with depth of field (see right), one way to ensure front-to-back sharpness is to use a wide-angle lens, provided that it’s stopped down to a small aperture, like f/16 or f/22.
The technique really relies on viewpoint and composition, with a close foreground and a view in the distance, and both ends of the scale arranged in the frame so they relate to each other. Ansel Adams, a master of this technique, called it the ‘Near-Far’ approach. Sharpness that extends from the front to the back of the frame heightens the sense of reality, and gives the viewer the sense of being able to touch every part of the scene.