Which describes the substances that form covalent bonds?

A. a metal and a metalloid
B. a metal and a nonmetal
C. two nonmetals
D. two metals