Anshu, a class X student, is writing CSS code for making all <span> elements bold.
Choose the correct code for getting the desired output from the following options:
A. span{text-size:bold}
B. span {font-weight:bold}
C. <span style="font-size:bold">
D. <span style="text-size:bold">