Which best describes chivalry?

A.
a place where knights train

B.
the code of conduct for medieval knights

C.
the process of being dubbed a knight

D.
a kind of clothing that knights wore