The knee joint extends through the action of the quadriceps muscles and tendon in the front of the thigh (star), and the patellar tendon (asterisk). Knee flexion occurs courtesy of the hamstring muscles in the back of the thigh (not pictured).