Top plate Single 2×4 fastened to the ceiling joists.
Stud Vertical framing, 16″ on center, cut to fit.
King stud Full-height stud beside the opening.
Jack stud Also called a trimmer. Holds up the header.
Header A flat 2× — allowed because the top plate is within 24″ above it.
Cripple Short stud between header and top plate.
Bottom plate Screwed to the subfloor. Dashed part is cut out in the doorway.
Red squares on the dimension line = stud layout marks, like the red boxes on a tape measure.