0 votes
57 views
in Computer Science by (8.5k points)
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">

1 Answer

0 votes
by (56.5k points)
 
Best answer

Correct option is (B) span {font-weight: bold}

Anshu, a class X student, is writing CSS code for making all <span> elements bold. The correct CSS code for making all <span> elements bold is: span {font-weight: bold}

...