
When a corner kick is awarded
If a defender is the last player to touch the ball before it completely crosses that defender’s own goal line, the attacking team receives a corner kick. The kick is taken from the corner area nearest where the ball crossed. Opponents must remain at least 10 yards from the corner arc until the ball is in play. A goal can be scored directly against the opponent from a corner kick.

When a goal kick is awarded
If an attacker touched the ball last before it crossed the goal line, the defending team receives a goal kick. The ball can be placed anywhere inside the goal area. Opponents must remain outside the penalty area until the ball is in play, unless a quick restart is taken before they can leave. A goal can be scored directly against the opposing team from a goal kick.
The entire ball must cross
The restart is not awarded merely because part of the ball is above or beyond the line. The entire ball must cross the entire line, on the ground or in the air.
Example
A defender blocks a shot and the ball goes over the goal line beside the goal: corner kick. An attacker shoots wide without a defender touching it: goal kick.
Bottom line
The last touch decides the restart. Defender last touch means corner; attacker last touch means goal kick.
