These shots are used when the ball is pitched on a fuller length and the batsman takes a step forward towards the ball. If right handed the batsman plays front foot batting shots from his left leg.
The correct technique for front foot defensive or attacking shot are shown in the videos and drills below. The shot selected depends on the line of the ball and how close to the batsman it lands (pitches). Attacking shots are divided into either a drive (straight, on-drive or off-drive depending on which side of the field the ball is hit) or a sweep, which is normally played to slow bowlers.
Generally the ball should be played along the floor when playing a drive. However, a lofted drive is used to clear fielders who are close to the batsman and is a tactic for pushing back fielders to allow quick singles to be run.