हिंदी

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×