Label next to the input (uses htmlFor)

Label wrapping the input (no htmlFor needed)

Separate label and input (not side by side)

With htmlFor, the caption and control do not have to sit next to each other: