flexion is produced mainly by the action of the longi capitis and recti capitis anteriores; extension by the recti capitis posteriores major and minor, the obliquus capitis superior, the semispinalis capitis, splenius capitis, sternocleidomastoideus, and upper fibers of the trapezius.