मराठी

What is the correct CSS syntax for making all the <span> elements bold?

Advertisements
Advertisements

प्रश्न

What is the correct CSS syntax for making all the <span> elements bold?

पर्याय

  • span {text-size:bold}
  • span {font-weight:bold}
  • <span style="font-size:bold">
  • <span style="text-size:bold">
MCQ
Advertisements

उत्तर

span {font-weight:bold}

Explanation:

The boldness or heaviness of a font is specified by the font-weight property. The span’s text is bolded in the provided code.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Cascading Style Sheets (CSS) - Assisted Practice [पृष्ठ २७१]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
पाठ 6 Cascading Style Sheets (CSS)
Assisted Practice | Q 6. | पृष्ठ २७१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×