Flexi Says: The muscles on the back of the legs are the hamstrings. They are a type of skeletal muscle and are hence voluntary in function. The muscles on the front of the legs, directly opposite the hamstrings, are the quadriceps. The hamstrings and quadriceps work together as a pair to move your legs back and forth while you run.