हिंदी

Which property is used to change the background color?

Advertisements
Advertisements

प्रश्न

Which property is used to change the background color?

विकल्प

  • background-color

  • bgcolor

  • bg-color

  • color

MCQ
Advertisements

उत्तर

background-color

Explanation:

An element’s background colour can be changed using the background-color attribute. For example,

h1 {background-color : yellow; }
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Cascading Style Sheets (CSS) - Assignment [पृष्ठ २७४]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×