Step 1: Understanding the Concept
Humans have 31 pairs of spinal nerves arising from the spinal cord through the gaps between vertebrae.
Step 2: Nature of the nerves
Each spinal nerve has a dorsal root with sensory fibres and a ventral root with motor fibres. They join, so the nerve is of mixed type.
Step 3: Check the options
Foramen magnum is the opening for the spinal cord, the neural canal holds the cord, and the number of pairs is 31, not 21. Only the mixed-type statement is correct.
Final Answer:
Spinal nerves are of mixed type.
\[ \boxed{\text{(D) }\text{mixed types}} \]