Answer: Directional Selection.
Step-by-step explanation: Earlier the ancestors of the giraffe had shorter neck as compared to the giraffe of the present time.
They were not able to access the plants that lied at a higher height.They was some changes in the phenotype of the giraffe in which the giraffe has long necks to access the plants at height.
In directional selection the extreme form is preferred over other traits. Example: The long neck giraffe were selected over short neck.