CSS
Questions No: 1/50

Which of the following selectors select any tag with an id attribute set ?
निम्नलिखित में से कौन सा सिलेक्टर आईडी एट्रीब्यूट के साथ किसी भी टैग को सेलेक्ट करता है?

Questions No: 2/50

Which of the following selector selects the elements that are currently enabled?
निम्नलिखित में से कौन सा चयनकर्ता उन एलिमेंट का चयन करता है जो वर्तमान में एक्टिव हैं?

Questions No: 3/50

what are the benefit of using CSS in web pages
वेब पेजों में CSS का उपयोग करने के क्या फायदे हैं?

Questions No: 4/50

If an element have margin values 20px for top, 20px for bottom, 30px for right, 30px for left. Then which of the following is the correct way to set the margin?

Questions No: 5/50

How can you select all elements of a specific class in CSS
आप CSS में किसी विशिष्ट वर्ग के सभी तत्वों का चयन कैसे कर सकते हैं

Questions No: 6/50

Which selector applies style when the mouse pointer is placed over an element?
कौन सा सेलेक्टर किसी एलिमेंट पर माउस पॉइंटर रखने पर स्टाइल लागू करता है?

Questions No: 7/50

How to apply specific styles to h1 tag only when mouse points to it?
कसी H1 टैग पे माउस ले जाने पे कोई कस प्रोपेरी कैसे लगाएंगे

Questions No: 8/50

What is the specificity order from highest to lowest?
विशिष्टता का क्रम उच्चतम से निम्नतम तक क्या है?

Questions No: 9/50

Which of the following CSS features improves page consistency across pages?
इनमें से कौन-सी CSS विशेषता अलग-अलग पेजों पर पेज की एकरूपता (consistency) को बेहतर बनाती है?

Questions No: 10/50

Which of the following selector selects the element that is the target of a referring URI?
निम्नलिखित में से कौन सा सेलेक्टर एलिमेंट को सेलेक्ट करता है जो एक रेफ़रिंग यूआरआई को टारगेट करता है?

Questions No: 11/50

How do you select an element with the class name "example" in CSS
सीएसएस मेंआप "example" नाम के क्लास के एलिमेंट का चयन कैसे करेंगे

Questions No: 12/50

The CSS property used to make the text bold is
टेक्स्ट को बोल्ड करने के लिए इस्तेमाल की जाने वाली CSS प्रॉपर्टी है

Questions No: 13/50

How do you make text bold using CSS?
आप CSS का उपयोग करके टेक्स्ट को बोल्ड कैसे बनाते हैं?

Questions No: 14/50

To cluster a group of elements together to apply formatting
फॉर्मेटिंग_________लागू करने के लिए एलिमेंट के समूह को एक साथ समूहित करना |

Questions No: 15/50

Which of the following is true about the CSS box model?
CSS बॉक्स मॉडल के बारे में इनमें से कौन-सी बात सही है?

Questions No: 16/50

When choosing a font, there are several things to keep in mind?
फ़ॉन्ट चुनते समय किन बातों का ध्यान रखना चाहिए?

Questions No: 17/50

What are the benefit of using CSS in web pages
वेब पेजों में CSS का उपयोग करने के क्या फायदे हैं

Questions No: 18/50

Match the CSS Position Property with Its Meaning


CSS Position PropertyMeaning
A. static1. Positions an element at a fixed place in the viewport
B. relative2. The default position (no special positioning)
C. absolute3. Positions the element relative to the nearest positioned ancestor
D. fixed4. Moves the element relative to its normal position

5. Makes an element float over other elements

6. Aligns the element at the center of the page


Questions No: 19/50

Match the CSS Sub-Selector with Its Meaning


CSS Sub-SelectorMeaning
A. div p1. Selects all <p> elements directly inside a <div>
B. div > p2. Selects all <p> elements inside a <div>, at any level
C. div + p3. Selects the first <p> element immediately after a <div>
D. div ~ p4. Selects all <p> elements that come after a <div>, but not necessarily immediately

5. Selects only the first <p> inside a <div>

6. Selects all <p> elements inside a <div>, including nested ones


Questions No: 20/50

Which selector targets only <li> elements that are directly under an <ul>?
कौन सा चयनकर्ता केवल <li> तत्वों को लक्षित करता है जो सीधे <ul> के अंतर्गत हैं

Questions No: 21/50

How will you change font for a paragraph text?
आप किसी टेक्स्ट का फ़ॉन्ट कैसे बदलेंगे?

Questions No: 22/50

Which element is used for or styling HTML5 layout?
HTML5 लेआउट के लिए या स्टाइलिंग के लिए किस तत्व का उपयोग किया जाता है?

Questions No: 23/50

What will be the output of following CSS code snippet?
नीचे दिए गए CSS कोड का आउटपुट क्या होगा?

Questions No: 24/50

Which HTML tag is used to define an internal style sheet?
इंटरनल स्टाइल को लगाने के लिए किस HTML टैग का उपयोग किया जाता है?

Questions No: 25/50

The pseudoclass is activated when the user moves the mouse cursor over the specified element.
जब उपयोगकर्ता माउस कर्सर को स्पेसिफाइड एलिमेंट पर ले जाता है तो ___________ सूडोक्लास एक्टिवेट हो जाता है |

Questions No: 26/50

Which is not one of the four defined values for text-shadow in CSS?
CSS में text-shadow के लिए तय चार वैल्यूज़ में से कौन-सी एक नहीं है?

Questions No: 27/50

Which selector applies styles to all elements?
कौन-सा सेलेक्टर सभी एलिमेंट्स पर स्टाइल लागू करता है?

Questions No: 28/50

Which of the following selector selects the elements that are the default among a set of similar elements?
निम्नलिखित में से कौन सा चयनकर्ता उन तत्वों का चयन करता है जो समान तत्वों के सेट के बीच डिफ़ॉल्ट हैं?

Questions No: 29/50

What should be the value of the width attribute, so that the width of the element adjusts itself to the current width of its parent element?
चौड़ाई विशेषता का मान क्या होना चाहिए, ताकि तत्व की चौड़ाई अपने मूल तत्व की वर्तमान चौड़ाई के अनुसार समायोजित हो जाए?

Questions No: 30/50

How do you target the last child of a parent element
आप मूल तत्व के अंतिम बच्चे को कैसे लक्षित करते हैं

Questions No: 31/50

Which CSS property controls the text size?
कौन सी सीएसएस प्रॉपर्टी टेक्स्ट आकार को नियंत्रित करती है

Questions No: 32/50

Which of the following selector select sibling ?
निम्नलिखित में से कौन सा सेलेक्टर सिबलिंग को सेलेक्ट करता है?

Questions No: 33/50

Which CSS property is used to make the text bold
टेक्स्ट को बोल्ड करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है

Questions No: 34/50

Which of the following selector applied styles to elements that are valid per HTML5 validations set either with the pattern or type attributes ?
निम्न सेलेक्टरों में से कौन स्टाइल उन एलिमेंट पर लागू होता है जो एचटीएमएल5 मान्यताओं के अनुसार वैध है या तो पैटर्न या प्रकार एट्रीब्यूटो के साथ सेट हैं ?

Questions No: 35/50

Which CSS property controls the text size?
CSS में किस प्रॉपर्टी के मदद से फॉण्ट साइज़ को काम ज्यादा किया जा सकता है

Questions No: 36/50

Which selector selects elements based on a certain state ?
कौन सा चयनकर्ता एक निश्चित अवस्था के आधार पर तत्वों का चयन करता है?

Questions No: 37/50

How do you apply styles to all <input> elements that are checked?
आप सभी checked <input> एलिमेंट (टैग) पर स्टाइल कैसे लागू करते हैं?

Questions No: 38/50

Which symbol is used for an ID selector in CSS?
CSS में ID सेलेक्टर के लिए किस सिंबल का इस्तेमाल किया जाता है?

Questions No: 39/50

Which CSS property is used to control the order of flex items in the container
कंटेनर में फ्लेक्स आइटम के क्रम को नियंत्रित करने के लिए किस सीएसएस प्रॉपर्टी का उपयोग किया जाता है

Questions No: 40/50

Which of the following is correct ?
निम्न में से कौन सा सही है ?

Questions No: 41/50

How can one change the font of an element?
कोई किसी तत्व का फॉन्ट कैसे बदल सकता है?

Questions No: 42/50

What is true about CSS?
CSS के बारे में क्या सत्य है?

Questions No: 43/50

Match the CSS User Action Pseudo-Class with Its Effect


CSS Pseudo-ClassEffect
A. :hover1. Styles an element when the mouse leaves it
B. :focus2. Applies a style when an element is clicked or focused
C. :active3. Applies a style when an element is actively being clicked
D. :visited4. Styles a link that has been previously clicked (visited)

5. Styles an element only when it is visible on the screen

6. Applies a style when an element is hovered over


Questions No: 44/50

In CSS, which property merges table borders?
CSS में, कौन सी प्रॉपर्टी टेबल बॉर्डर को मर्ज करती है?

Questions No: 45/50

Which value is not allowed in border-style property?
border-style प्रॉपर्टी में कौन-सी वैल्यू की अनुमति नहीं है?

Questions No: 46/50

Select the CSS property that sets the width of an element’s bottom border.
उस सीएसएस प्रॉपर्टी का चयन करें जो किसी तत्व की निचली सीमा की चौड़ाई निर्धारित करती है?

Questions No: 47/50

In CSS, which border value makes the rounded corners?
CSS में, कौन-सी बॉर्डर वैल्यू राउंडेड कॉर्नर बनाती है?

Questions No: 48/50

Which of the following selector select an element if it's the child of its parent ?
निम्न में से कौन सा सेलेक्टर एक एलिमेंट सेलेक्ट करता है यदि उसका चाइल्ड उसके पैरेंट का हो।

Questions No: 49/50

Which selector has the highest specificity?
किस चयनकर्ता की विशिष्टता सबसे अधिक है?

Questions No: 50/50

What does the general sibling selector (~) do
जनरल सिबलिंग सिलेक्टर (~) क्या करता है