| « पीछे | Background Color Property | आगे » |
|---|
✯ सीएसएस की बैकग्राउंड कलर प्रॉपर्टी का इस्तेमाल करके एचटीएमएल के किसी भी एलिमेंट के बैकग्राउंड कलर को बदला जा सकता हैं । डिफ़ॉल्ट रूप से एचटीएमएल के किसी भी एलिमेंट के बैकग्राउंड में कोई कलर नहीं होता हैं । CSS की इस प्रॉपर्टी के इस्तेमाल के लिए इसकी Value में उस कलर के नाम को लिखा जाता हैं जिस कलर को बैकग्राउंड में शमिल करना चाहते हैं । बैकग्राउंड कलर प्रॉपर्टी का इस्तेमाल करके बॉडी के बैकग्राउंड कलर को बदलने का प्रयास करते हैं ।
The background color of any HTML element can be changed by using the background color property of CSS. By default, there is no background color for any HTML element. To use this property of CSS, the name of the color that you want to include in the background is written in its value. Let's try to change the background color of the body using the background color property.
✯ बैकग्राउंड कलर प्रॉपर्टी की वैल्यू में कलर नाम के अलावा हेक्स कोड का भी इस्तेमाल कर सकते हैं । हेक्स कलर कोड के बारे में जानने के लिए Hex Color पेज पर जा सकते हैं जिस पेज में इसके बारे में विस्तार पूर्वक वर्णन किया गया हैं ।
In addition to the color name in the value of the background color property, you can also use the hex code. To know about the Hex Color code, you can visit the Hex Color page, in which it is described in detail.