O Level - Css
Questions No: 1/50

How do you make a list item in an unordered list display without bullets
आप बुलेट के बिना एक अव्यवस्थित सूची डिस्प्ले में एक सूची आइटम कैसे बनाते हैं

Questions No: 2/50

Match the CSS Property with Its Function


CSS PropertyFunction
A. color1. Sets the background color of an element
B. margin2. Changes the text color of an element
C. padding3. Adds space inside an element’s border
D. background-color4. Adds space around an element outside its border


Questions No: 3/50

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

Questions No: 4/50

The attribute, which define the relationship between current document and HREFed URL is
वह विशेषता, जो वर्तमान दस्तावेज़ और HREFed URL के बीच संबंध को परिभाषित करती है

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

For making object fully transparent which option is correct
वस्तु को पूर्णतः पारदर्शी बनाने के लिए कौन सा विकल्प सही है

Questions No: 10/50

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

Questions No: 11/50

Which of the following attribute is used to provide a unique name to an element?
किसी एलिमेंट को यूनिक नाम प्रदान करने के लिए निम्नलिखित में से किस विशेषता का उपयोग किया जाता है?

Questions No: 12/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: 13/50

What is the default value of the position property?
CSS में पोजीशन प्रॉपर्टी के डिफ़ॉल्ट वैल्यू क्या है

Questions No: 14/50

Match the CSS Attribute Selector with Its Function


CSS Attribute SelectorFunction
A. [type="text"]1. Selects all elements that have a title attribute
B. [title]2. Selects input fields with the type exactly as "text"
C. [href^="https"]3. Selects all <a> tags where href starts with "https"
D. [class~="btn"]4. Selects elements whose class attribute contains "btn" as a separate word

5. Selects elements where class contains "btn" anywhere in the value

6. Selects elements where href contains "https" anywhere in the URL


Questions No: 15/50

What is the correct way to set background color as blue
पृष्ठभूमि का रंग नीला करने का सही तरीका क्या है

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/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: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

Which is not a advantage of using CSS?
CSS का उपयोग करने का कौन सा लाभ नहीं है?

Questions No: 23/50

What will happen in the following case ?

h1 {color: red text-decoration: underline; font-style: italic;}

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

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

Questions No: 26/50

Which of the following property is used to control the scrolling of an image in the background?
पेज के बैकग्राउंड में किसी पिक्चर की स्क्रॉलिंग को नियंत्रित करने के लिए निम्नलिखित में से किस प्रॉपर्टी का उपयोग किया जाता है?

Questions No: 27/50

What happens if an inline style conflicts with an external CSS rule
यदि कोई इनलाइन शैली बाहरी सीएसएस नियम के साथ टकराव करती है तो क्या होता है

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/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: 33/50

Which of the following HTML attribute is used to define inline styles?
निम्नलिखित में से किस HTML प्रॉपर्टी का उपयोग इनलाइन स्टाइल लगाने के लिए किया जाता है?

Questions No: 34/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: 35/50

What is the purpose of the CSS property position: relative;?
सीएसएस संपत्ति स्थिति का उद्देश्य क्या है: सापेक्ष;

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

Match the CSS Background Property with Its Function


CSS PropertyFunction
A. background-color1. Sets an image as the background of an element
B. background-image2. Specifies how a background image repeats
C. background-repeat3. Defines the position of a background image within an element
D. background-position4. Sets the background color of an element

5. Specifies whether the background is fixed or scrolls with the page

6. Controls the transparency of the background color


Questions No: 39/50

Which pseudo-class targets an input field while it is being typed in
कौन सा छद्म वर्ग किसी इनपुट फ़ील्ड को टाइप करते समय लक्षित करता है

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

Where in an HTML document is the correct place to refer to an external style sheet?
एक एक्सटरनल स्टाइल शीट को संदर्भित करने के लिए HTML दस्तावेज़ में सही जगह कहाँ है?

Questions No: 46/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: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

For fully transparent which option is right
पूर्णतः पारदर्शी के लिए कौन सा विकल्प सही है?