मराठी

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×