Which of the following selectors selects the element that is the first…
Which of the following selectors selects the element that is the first child of the parent?
निम्नलिखित में से कौन सा सिलेक्टर उस एलिमेंट का चयन करता है जो पैरेंट का पहला चाइल्ड है?
Detailed Solution & Logic
:first-of-type
Web masters get flexibility through the different types of selectors available in CSS. The :first-of-type selector is used to style each first child of a parent element according to the given type. / स्पष्टीकरण: वेब मास्टर्स को CSS में उपलब्ध विभिन्न प्रकार के सिलेक्टरों के माध्यम से लचीलापन मिलता है। :first-of-type सिलेक्टर का उपयोग पैरेंट एलिमेंट के प्रत्येक पहले चाइल्ड को दिए गए प्रकार के अनुसार स्टाइल करने के लिए किया जाता है।
Similar Practice Questions
The way to use CSS in one line is- / एक पंक्ति…
The way to use CSS in one line is– एक पंक्ति में CSS का उपयोग...
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...
In CSS Grid, what does the unit ‘fr’ represent?
In CSS Grid, what does the unit ‘fr’ represent? CSS Grid में ‘fr’ unit क्या...
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...
Character coding is- / कैरेक्टर कोडिंग है-
Character coding is– कैरेक्टर कोडिंग है-
What can be used as a wildcard character? / वाइल्डकार्ड कैरेक्टर के…
What can be used as a wildcard character? वाइल्डकार्ड कैरेक्टर के रूप में किसका उपयोग...
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...