Step 1: Understanding the Concept
Salmonella typhi has surface antigens used in serotyping, for example in the Widal test.
Step 2: The antigens
O antigen is the cell wall lipopolysaccharide. Vi antigen is in the capsule. H antigen is the protein flagellin.
Step 3: Conclusion
Flagellin forms the flagella, so H-antigen is associated with flagella.
Final Answer:
The H-antigen is associated with flagella.
\[ \boxed{\text{(B) }\text{Flagella}} \]