O Level - Css
Questions No: 1/50

Which tag is used to link an external CSS file?
बाहरी CSS फ़ाइल को लिंक करने के लिए किस टैग का इस्तेमाल किया जाता है?

Questions No: 2/50

Which tag is used to link an external style sheet to a webpage?
बाहरी स्टाइल शीट को वेबपेज से जोड़ने के लिए किस टैग का उपयोग किया जाता है?

Questions No: 3/50

What does the z-index property in CSS control
CSS में z-index प्रॉपर्टी क्या नियंत्रित करती है

Questions No: 4/50

Which attribute specifies a unique alphanumeric identifier to be associated with an element?
कौन सा एट्रिब्यूट किसी एलिमेंट से जुड़े यूनिक अल्फ़ान्यूमेरिक पहचानकर्ता को निर्देशित करता है

Questions No: 5/50

Which value prevents a background image from repeating?
कौन सा मान पृष्ठभूमि छवि को दोहराने से रोकता है?

Questions No: 6/50

Which is not a clip property in CSS?
CSS में कौन-सी क्लिप प्रॉपर्टी नहीं है?

Questions No: 7/50

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

Questions No: 8/50

Which selector targets all input elements having a required attribute?
कौन सा चयनकर्ता उन सभी इनपुट तत्वों को लक्षित करता है जिनमें एक आवश्यक विशेषता होती है?

Questions No: 9/50

What is full form of CMYK
CMYK का फुल फॉर्म क्या है?

Questions No: 10/50

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

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

Which CSS property is used to change the text color of an element?
किसी तत्व के टेक्स्ट का रंग बदलने के लिए किस CSS गुण का उपयोग किया जाता है?

Questions No: 14/50

Which of the following CSS selectors are used to specify a group of elements?
निम्नलिखित में से किस सीएसएस चयनकर्ता का उपयोग तत्वों के समूह को निर्दिष्ट करने के लिए किया जाता है?

Questions No: 15/50

Which of the following selector selects all elements of E that have the attribute attr that end with the given value?
निम्नलिखित में से कौन सा चयनकर्ता E के उन सभी तत्वों का चयन करता है जिनमें विशेषता attr है जो दिए गए मान के साथ समाप्त होती है?

Questions No: 16/50

Which selector is being used to specify a group of elements
एलिमेंट के ग्रुप को स्पेसिफ़ाई करने के लिए किस चयनकर्ता का उपयोग किया जा रहा है

Questions No: 17/50

Match the CSS Selector with Its Description


CSS SelectorDescription
A. #header1. Selects all elements of a specific type
B. .container2. Selects an element with a unique ID
C. p3. Selects all elements with a specific class name
D. *4. Selects all elements on a page

5. Selects only the first paragraph inside a div

6. Selects only links inside a navigation menu


Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

What is not the limitation of CSS?
CSS की सीमा क्या नहीं है?

Questions No: 21/50

Which selector applies the same style to h1, h2 and h3?
कौन सा सेलेक्टर h1, h2 और h3 पर एक ही स्टाइल लागू करता है?

Questions No: 22/50

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

Questions No: 23/50

Which is not a way to add CSS to HTML file ?
HTML फ़ाइल में CSS जोड़ने का कौन सा तरीका नहीं है?

Questions No: 24/50

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

Questions No: 25/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: 26/50

The "color:black" in CSS syntax is known as
सी एस एस सिंटैक्स में "रंग: काला" को के रूप में जाना जाता है

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

Which selector applies styles to all <p> elements inside a <div> with the class .content
कौन सा चयनकर्ता .content वर्ग के साथ <div> के अंदर सभी <p> तत्वों पर शैलियाँ लागू करता है

Questions No: 31/50

Which of the following property is used to control the scrolling of an image in the background
निम्नलिखित में से किस गुण का उपयोग पृष्ठभूमि में किसी छवि की स्क्रॉलिंग को नियंत्रित करने के लिए किया जाता है

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

What does the adjacent sibling selector (+) do
निकटवर्ती सहोदर चयनकर्ता (+) क्या करता है

Questions No: 35/50

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

Questions No: 36/50

How do you style all elements with a specific attribute, regardless of its value
आप सभी तत्वों को एक विशिष्ट विशेषता के साथ कैसे शैलीबद्ध करते हैं, चाहे उसका मूल्य कुछ भी हो

Questions No: 37/50

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

Questions No: 38/50

Which selector is called the “Immediate Sibling Selector”?
किस सेलेक्टर को “इमीडिएट सिबलिंग सेलेक्टर” कहा जाता है?

Questions No: 39/50

Which CSS property controls stacking order?
कौन सी सीएसएस प्रॉपर्टी स्टैकिंग ऑर्डर को नियंत्रित करती है?

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

What is not true about External Style sheet
एक्सटर्नल स्टाइल शीट के बारे में क्या सत्य नहीं है

Questions No: 46/50

What this code will happen: <p style="color:blue">text</p>
यह कोड क्या होगा: <p style="color:blue">text</p>

Questions No: 47/50

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

Questions No: 48/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: 49/50

If an element have padding values 20px for top, 30px bottom, 15px for right, 10px for left. Then which of the following is the correct way to set that padding?
यदि किसी element में ऊपर (top) के लिए 20px, नीचे (bottom) के लिए 30px, दाएँ (right) के लिए 15px और बाएँ (left) के लिए 10px padding दी गई है, तो निम्न में से कौन-सा तरीका उस padding को सही रूप से सेट करता है?

Questions No: 50/50

Which property prevents elements from overlapping a floated element
कौन सा गुण तत्वों को फ़्लोट किए गए तत्व को ओवरलैप करने से रोकता है