Which property is used to change the background color in CSS? /…
Which property is used to change the background color in CSS?
CSS में बैकग्राउंड रंग बदलने के लिए कौन सी प्रॉपर्टी का उपयोग किया जाता है?
Detailed Solution & Logic
background / बैकग्राउंड
The background property (or more specifically background-color) is used to change the background color of an element in CSS, e.g. background-color: blue;. The color property only changes the text color. / स्पष्टीकरण: CSS में किसी एलिमेंट का बैकग्राउंड रंग बदलने के लिए background प्रॉपर्टी (या विशेष रूप से background-color) का उपयोग किया जाता है, जैसे background-color: blue;। color प्रॉपर्टी केवल टेक्स्ट का रंग बदलती है।
Similar Practice Questions
Which element is used in the head section of an HTML/XHTML page if you want to use an external style sheet to decorate the page?
Which element is used in the <head> section of an HTML/XHTML page if you want...
What should be the width of the table, so that the width…
What should be the width of the table, so that the width of the table...
Which of the following properties can be used to display a border…
Which of the following properties can be used to display a border around a cell...
Which of the following selectors selects elements that do not match selector…
Which of the following selectors selects elements that do not match selector S? निम्नलिखित में...
What can be used as a wildcard character? / वाइल्डकार्ड कैरेक्टर के…
What can be used as a wildcard character? वाइल्डकार्ड कैरेक्टर के रूप में किसका उपयोग...
Color can be declared using the color property available in CSS for-…
Color can be declared using the color property available in CSS for- CSS में उपलब्ध...
In CSS Grid, what does the unit ‘fr’ represent?
In CSS Grid, what does the unit ‘fr’ represent? CSS Grid में ‘fr’ unit क्या...