What is difference between plantar flexion and dorsiflexion?

Movement of toes. What direction the toes are moving when heel to little toe is gently scorched, if big toe an dother toes moves towards sole it is normal plantar flexion if moves towards top part of foot it is dorsiflexion . It one of the test to asses the intact spinal cord.