O Level Exam : Student Portal
Email address
Password
Remember me
Forgot password?
Sign In
Google
Facebook
Don't have an account?
Register now
O Level Online Exam
Menu mobile
Home
MCQ Topic Wise
INFORMATION TECHNOLOGY TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Online Mock Test
INFORMATION TECHNOLOGY TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Old Papers
Practical Questions
Videos
Projects
MCQ : CSS For NIELIT O Level Exam
CSS For NIELIT O Level Exam
00:00:00
English
Hindi
Question No# :
01
out of 50
Report Bug
Bookmark
The CSS property word-break: break-all; is used to
सीएसएस संपत्ति वर्ड-ब्रेक: ब्रेक-ऑल; करने के लिए प्रयोग किया जाता है
A.
Break the text into individual words
पाठ को अलग-अलग शब्दों में तोड़ें
B.
Allow long words to break and wrap onto the next line
लंबे शब्दों को टूटने दें और अगली पंक्ति में लपेटने दें
C.
Prevent hyphenation of words
शब्दों के हाइफ़नेशन को रोकें
D.
Change the font style of text
टेक्स्ट की फ़ॉन्ट शैली बदलें
Question No# :
02
out of 50
Report Bug
Bookmark
The CSS property box-sizing: content-box; includes
सीएसएस संपत्ति बॉक्स-आकार: सामग्री-बॉक्स; शामिल
A.
Only the content of the box in the specified width and height
निर्दिष्ट चौड़ाई और ऊंचाई में केवल बॉक्स की सामग्री
B.
Both the content and padding in the specified width and height
निर्दिष्ट चौड़ाई और ऊंचाई में सामग्री और पैडिंग दोनों
C.
Only the padding of the box in the specified width and height
केवल निर्दिष्ट चौड़ाई और ऊंचाई में बॉक्स की पैडिंग
D.
Only the border of the box in the specified width and height
निर्दिष्ट चौड़ाई और ऊंचाई में केवल बॉक्स का बॉर्डर
Question No# :
03
out of 50
Report Bug
Bookmark
Which type of CSS is used in the code ? <p style = "border:2px solid red;">
<p style = "border:2px solid red;"> दिए गए कूट में किस प्रकार के CSS का प्रयोग किया गया है
A.
External CSS
External CSS
B.
Internal CSS
Internal CSS
C.
Inline CSS
Inline CSS
D.
None of these
None of these
Question No# :
04
out of 50
Report Bug
Bookmark
Which CSS selector will be used to define a single element style?
किसी एक एलिमेंट के स्टाइल को परिभाषित करने के लिए किस सी एस एस सेलेक्टर का उपयोग किया जायेगे ?
A.
ID
ID
B.
Class
Class
C.
Text
Text
D.
Name
Name
Question No# :
05
out of 50
Report Bug
Bookmark
Which of the following CSS list properties is/are correct?
निम्नलिखित में से कौन सी सीएसएस सूची गुण सही है/हैं?
A.
set different list item markers for ordered lists
ऑर्डर लिस्टो के लिए अलग लिस्ट आइटम मार्कर सेट करें
B.
Set different list item markers for unordered lists
अव्यवस्थित लिस्टो के लिए अलग लिस्ट आइटम मार्कर सेट करें
C.
Set an image as the list item marker
एक इमेज को लिस्ट आइटम मार्कर के रूप में सेट करें
D.
All of the mentioned
उल्लिखित सभी
Question No# :
06
out of 50
Report Bug
Bookmark
Which property is used to change the font of an element?
किसी तत्व का फ़ॉन्ट बदलने के लिए किस गुण का उपयोग किया जाता है?
A.
font-style
font-style
B.
font-family
font-family
C.
font-weight
font-weight
D.
font-color
font-color
Question No# :
07
out of 50
Report Bug
Bookmark
Which CSS property is used to create a horizontal line
क्षैतिज रेखा बनाने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
hr-line
घंटा लाइन
B.
line-horizontal
रेखा-क्षैतिज
C.
horizontal-line
क्षैतिज रेखा
D.
border-bottom
सीमा-नीचे
Question No# :
08
out of 50
Report Bug
Bookmark
Which selector applies styles to all <p> elements inside a <div> element
कौन सा चयनकर्ता <div> तत्व के अंदर सभी <p> तत्वों पर शैलियाँ लागू करता है
A.
div, p
डिव, पी
B.
div + p
डिव + पी
C.
div p
डिव पी
D.
div > p
डिव > पी
Question No# :
09
out of 50
Report Bug
Bookmark
The CSS property visibility: hidden; does what to an element
सीएसएस संपत्ति दृश्यता: छिपा हुआ; किसी तत्व के लिए क्या करता है
A.
Hides the element but preserves the space it occupies
तत्व को छुपाता है लेकिन उसके द्वारा घेरी गई जगह को सुरक्षित रखता है
B.
Makes the element transparent
तत्व को पारदर्शी बनाता है
C.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
D.
Makes the element visible
तत्व को दृश्यमान बनाता है
Question No# :
10
out of 50
Report Bug
Bookmark
How do you apply multiple external CSS files to an HTML document
आप एक HTML दस्तावेज़ में एकाधिक बाहरी CSS फ़ाइलें कैसे लागू करते हैं
A.
Only one file can be linked at a time
एक समय में केवल एक ही फाइल को लिंक किया जा सकता है
B.
Use multiple <link> tags for each file
प्रत्येक फ़ाइल के लिए एकाधिक <लिंक> टैग का उपयोग करें
C.
Combine all styles into one file
सभी शैलियों को एक फ़ाइल में संयोजित करें
D.
Load them with a <script> tag.
उन्हें <script> टैग के साथ लोड करें
Question No# :
11
out of 50
Report Bug
Bookmark
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
कौन सा एट्रिब्यूट किसी एलिमेंट से जुड़े यूनिक अल्फ़ान्यूमेरिक पहचानकर्ता को निर्देशित करता है
A.
class
class
B.
id
id
C.
article
article
D.
html
html
Question No# :
12
out of 50
Report Bug
Bookmark
How can you apply the same style to multiple selectors in a single rule
आप एक ही नियम में एक ही शैली को विभिन्न चयन पोर्टफोलियो पर कैसे लागू कर सकते हैं
A.
Separate each selector with a comma
प्रत्येक चयनकर्ता को अल्पविराम से अलग करें
B.
Use the & symbol
& चिह्न का प्रयोग करें
C.
Use the || symbol
|| का प्रयोग करें प्रतीक
D.
Separate each selector with a colon
प्रत्येक चयनकर्ता को कोलन से अलग करें
Question No# :
13
out of 50
Report Bug
Bookmark
Which symbol indicates class selector in CSS.
CSS में कौन सा सिंबल क्लास सेलेक्टर को इंडीकेट करता है।
A.
Hash
हैश
B.
Plus
प्लस
C.
Dot
डॉट
D.
None
कोई भी नहीं
Question No# :
14
out of 50
Report Bug
Bookmark
What does the CSS property overflow: scroll; do
सीएसएस संपत्ति अतिप्रवाह क्या करती है: स्क्रॉल; करना
A.
Hides the content that overflows the element's box
उस सामग्री को छुपाता है जो तत्व के बॉक्स को ओवरफ़्लो करती है
B.
Adds a scroll bar to the element if the content overflows
यदि सामग्री ओवरफ्लो हो जाती है तो तत्व में एक स्क्रॉल बार जोड़ता है
C.
Expands the element to fit its content
तत्व को उसकी सामग्री के अनुरूप विस्तारित करता है
D.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
Question No# :
15
out of 50
Report Bug
Bookmark
For making object fully transparent which option is correct
वस्तु को पूर्णतः पारदर्शी बनाने के लिए कौन सा विकल्प सही है
A.
rgba(255,55,255,1)
rgba(255,55,255,1)
B.
rgba(255,255,255,0.0)
rgba(255,255,255,0.0)
C.
rgba(255,55,255,.5)
rgba(255,55,255,.5)
D.
None of these
इनमें से कोई नहीं
Question No# :
16
out of 50
Report Bug
Bookmark
Which selector is used to target all elements on a webpage
वेबपेज पर सभी तत्वों को लक्षित करने के लिए किस चयनकर्ता का उपयोग किया जाता है
A.
#
#
B.
*
*
C.
.
.
D.
!
!
Question No# :
17
out of 50
Report Bug
Bookmark
The body of the style sheet includes?
स्टाइल शीट की बॉडी में __________शामिल है?
A.
Style rules
स्टाइल रूल्स
B.
CSS rules
सीएसएस रूल्स
C.
Sheet rules
शीट रूल्स
D.
Format rules
फॉर्मेट रूल्स
Question No# :
18
out of 50
Report Bug
Bookmark
What is the purpose of the CSS float property
सीएसएस फ्लोट प्रॉपर्टी का उद्देश्य क्या है
A.
Adds rounded corners to an element
किसी तत्व में गोलाकार कोने जोड़ता है
B.
Aligns an element to the center
किसी तत्व को केंद्र में संरेखित करता है
C.
Moves an element to the left or right
किसी तत्व को बाएँ या दाएँ ले जाता है
D.
Changes the transparency of an element
किसी तत्व की पारदर्शिता को बदलता है
Question No# :
19
out of 50
Report Bug
Bookmark
Which of the following selector selects all elements of E that have the attribute attr that end with the given value?
निम्नलिखित में से कौन सा चयनकर्ता E के उन सभी तत्वों का चयन करता है जिनमें विशेषता attr है जो दिए गए मान के साथ समाप्त होती है?
A.
E[attr^=value]
E[attr^=value]
B.
E[attr$=value]
E[attr$=value]
C.
E[attr*=value]
E[attr*=value]
D.
None of these
इनमें से कोई नहीं
Question No# :
20
out of 50
Report Bug
Bookmark
Which CSS property is used to change the background color?
बैकग्राउंड रंग बदलने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है?
A.
color
color
B.
background-color
background-color
C.
bgcolor
bgcolor
D.
None Of These
None Of These
Question No# :
21
out of 50
Report Bug
Bookmark
The CSS property transition-delay is used to:
सीएसएस संपत्ति संक्रमण-विलंब का उपयोग इसके लिए किया जाता है
A.
Set the duration of the transition effect
संक्रमण प्रभाव की अवधि निर्धारित करें
B.
Define the property being transitioned
परिवर्तित की जा रही संपत्ति को परिभाषित करें
C.
Specify the starting value of the transitioned property
परिवर्तित संपत्ति का प्रारंभिक मूल्य निर्दिष्ट करें
D.
Introduce a delay before the transition effect begins
संक्रमण प्रभाव शुरू होने से पहले विलंब का परिचय दें
Question No# :
22
out of 50
Report Bug
Bookmark
What is the correct syntax for a keyframe in CSS
CSS में कीफ़्रेम के लिए सही सिंटैक्स क्या है
A.
@frames
@फ़्रेम
B.
@keyframe
@कीफ़्रेम
C.
@keyframes
@कीफ़्रेम्स
D.
@animation-frames
@एनिमेशन-फ़्रेम
Question No# :
23
out of 50
Report Bug
Bookmark
What does the adjacent sibling selector (+) do
निकटवर्ती सहोदर चयनकर्ता (+) क्या करता है
A.
Selects the first child of an element
किसी भी तत्व के पहले बच्चे का चयन किया जाता है
B.
Selects all sibling elements
सभी सहोदर तत्वों का चयन करता है
C.
Selects the immediately next sibling of an element
किसी तत्व के ठीक अगले सहोदर का चयन करता है
D.
Selects the parent of an element
किसी तत्व के जनक का चयन करता है
Question No# :
24
out of 50
Report Bug
Bookmark
What is the correct way to link an external CSS file to an HTML document
किसी बाहरी CSS फ़ाइल को HTML दस्तावेज़ से लिंक करने का सही तरीका क्या है
A.
<style src="style.css">
<स्टाइल src='style.css'>
B.
<link rel="stylesheet" href="style.css">
<लिंक rel='स्टाइलशीट' href='style.css'>
C.
. <css link="style.css">
. <सीएसएस लिंक='स्टाइल.सीएसएस'>
D.
<script src="style.css">
<स्क्रिप्ट src='style.css'>
Question No# :
25
out of 50
Report Bug
Bookmark
The :not(selector) in CSS is used to
CSS में :not(selector) का उपयोग किया जाता है
A.
Select all elements
सभी तत्वों का चयन करें
B.
Select all elements except the specified selector
निर्दिष्ट चयनकर्ता को छोड़कर सभी तत्वों का चयन करें
C.
Select only the first child of its parent
इसके माता-पिता की केवल पहली संतान का चयन करें
D.
Select only the last child of its parent
इसके माता-पिता की केवल अंतिम संतान का चयन करें
Question No# :
26
out of 50
Report Bug
Bookmark
The CSS property font-weight: bold; is equivalent to
सीएसएस संपत्ति फ़ॉन्ट-वेट: बोल्ड; के बराबर है
A.
font-weight: 700;
फ़ॉन्ट-भार: 700;
B.
font-weight: 500;
फ़ॉन्ट-वजन: 500;
C.
font-weight: 600;
फ़ॉन्ट-भार: 600;
D.
font-weight: 400;
फ़ॉन्ट-भार: 400;
Question No# :
27
out of 50
Report Bug
Bookmark
How can we write comment along with CSS code?
CSS कोड के साथ हम कमेंट कैसे लिख सकते हैं?
A.
/*a comment* /
/*a comment* /
B.
/ / a comment / /
/ / a comment / /
C.
/ a comment /
/ a comment /
D.
< ' a comment'
< ' a comment'
Question No# :
28
out of 50
Report Bug
Bookmark
What does the z-index property in CSS control
CSS में z-index प्रॉपर्टी क्या नियंत्रित करती है
A.
Opacity
अस्पष्टता
B.
Visibility
दृश्यता
C.
Stacking order
ढेर लगाने का क्रम
D.
Font size
फ़ॉन्ट आकार
Question No# :
29
out of 50
Report Bug
Bookmark
Which property is used to change the text color of an element?
किसी तत्व के टेक्स्ट का रंग बदलने के लिए किस गुण का उपयोग किया जाता है
A.
color
एक। रंग
B.
text-color
पाठ का रंग
C.
text
मूलपाठ
D.
font-color
फ़ॉन्ट रंग
Question No# :
30
out of 50
Report Bug
Bookmark
Which selector is being used to specify a group of elements
एलिमेंट के ग्रुप को स्पेसिफ़ाई करने के लिए किस चयनकर्ता का उपयोग किया जा रहा है
A.
Name
नेम
B.
ID
आई डी
C.
Class
क्लास
D.
Tag
टैग
Question No# :
31
out of 50
Report Bug
Bookmark
Which of the following selector matches a element based on its id?
निम्नलिखित में से कौन सा सेलेक्टर अपनी आईडी के आधार पर किसी एलिमेंट से मेल खाता है?
A.
The universal selector
यूनिवर्सल चयनकर्ता
B.
The Descendant Selector
वंशज चयनकर्ता
C.
The Class selector
कक्षा चयनकर्ता
D.
The id selector
आईडी चयनकर्ता
Question No# :
32
out of 50
Report Bug
Bookmark
The CSS property transition: all 0.3s ease-in-out; does what to an element
सीएसएस संपत्ति संक्रमण: सभी 0.3 आसानी से अंदर-बाहर; किसी तत्व के लिए क्या करता है
A.
Adds a smooth transition effect to all properties over 0.3 seconds
0.3 सेकंड में सभी संपत्तियों में एक सहज संक्रमण प्रभाव जोड़ता है
B.
Changes the font style of the element
तत्व की फ़ॉन्ट शैली बदलता है
C.
Applies a shadow to the element
तत्व पर छाया लागू करता है
D.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
Question No# :
33
out of 50
Report Bug
Bookmark
If the width of an element is exceeded by the content of the element, then which property will define the behaviour of the content?
A.
overflow-y
overflow-y
B.
overflow-x
overflow-x
C.
overflow-width
overflow-width
D.
overflow -z
overflow -z
Question No# :
34
out of 50
Report Bug
Bookmark
Which CSS Property specifies the clarity of the image ?
कौन सी सीएसएस प्रॉपर्टी इमेज की स्पष्टता निर्दिष्ट करती है?
A.
Overlay
Overlay
B.
Clearfix
Clearfix
C.
Clarity
Clarity
D.
Opacity
Opacity
Question No# :
35
out of 50
Report Bug
Bookmark
What does the CSS property position: absolute; do
सीएसएस संपत्ति स्थिति क्या करती है: पूर्ण; करना
A.
Positions the element relative to its normal position
तत्व को उसकी सामान्य स्थिति के सापेक्ष स्थित करता है
B.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
C.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
D.
Applies absolute positioning to all child elements
सभी चाइल्ड तत्वों पर पूर्ण स्थिति लागू करता है
Question No# :
36
out of 50
Report Bug
Bookmark
If both an external CSS file and a <style> block in HTML target the same element, which one takes precedence
यदि बाहरी सीएसएस फ़ाइल और HTML में <style> ब्लॉक दोनों एक ही तत्व को लक्षित करते हैं, तो किसे दी जाती है
A.
The external CSS file
बाहरी सीएसएस फ़ाइल
B.
The <style> block
<शैली> ब्लॉक
C.
Neither is applied
न ही लागू किया गया है
D.
They are merged
वे विलीन हो गए हैं
Question No# :
37
out of 50
Report Bug
Bookmark
Which CSS property is used to create a horizontal line?
क्षैतिज रेखा बनाने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
hr-line
घंटा लाइन
B.
line-horizontal
रेखा-क्षैतिज
C.
horizontal-line
क्षैतिज रेखा
D.
border-bottom
सीमा-नीचे
Question No# :
38
out of 50
Report Bug
Bookmark
Which value of position always fixes the position of the element relative to the viewport?
A.
absolute
absolute
B.
fixed
fixed
C.
static
static
D.
sticky
sticky
Question No# :
39
out of 50
Report Bug
Bookmark
Which CSS property is used to change the order of flex items
फ्लेक्स आइटम के क्रम को बदलने के लिए किस सीएसएस प्रॉपर्टी का उपयोग किया जाता है?
A.
order
आदेश
B.
flex-order
फ्लेक्स-ऑर्डर
C.
item-order
आइटम-ऑर्डर
D.
flex-direction
फ्लेक्स-दिशा
Question No# :
40
out of 50
Report Bug
Bookmark
Which is the correct CSS syntax?
सही CSS सिंटैक्स कौन सा है?
A.
{body;color:black;}
{body;color:black;}
B.
{body:color=black;}
{body:color=black;}
C.
body {color: black;}
body {color: black;}
D.
body:color=black;
body:color=black;
Question No# :
41
out of 50
Report Bug
Bookmark
Which property specifies the duration of a transition effect
कौन सी संपत्ति संक्रमण प्रभाव की अवधि निर्दिष्ट करती है
A.
transition-speed
संक्रमण-गति
B.
animation-duration
एनीमेशन-अवधि
C.
. transition-duration
संक्रमण-अवधि
D.
duration
अवधि
Question No# :
42
out of 50
Report Bug
Bookmark
Which of the following selector select an element if it's the child of its parent ?
निम्न में से कौन सा सेलेक्टर एक एलिमेंट सेलेक्ट करता है यदि उसका चाइल्ड उसके पैरेंट का हो।
A.
:root
:root
B.
:nth-of-type(n)
:nth-of-type(n)
C.
:only-child
:only-child
D.
none of the mentioned
उल्लिखित में से कोई नहीं
Question No# :
43
out of 50
Report Bug
Bookmark
Which property is used for font size in css?
CSS में फ़ॉन्ट आकार के लिए किस प्रॉपर्टी का उपयोग किया जाता है?
A.
text-size
text-size
B.
font-size
font-size
C.
font-style
font-style
D.
fontsize
fontsize
Question No# :
44
out of 50
Report Bug
Bookmark
What does the CSS property object-fit control
CSS प्रॉपर्टी ऑब्जेक्ट-फिट नियंत्रण क्या करती है
A.
The size of the content box
सामग्री बॉक्स का आकार
B.
The alignment of the text
पाठ का संरेखण
C.
How an element's content should be resized to fit its container
किसी तत्व की सामग्री को उसके कंटेनर में फिट करने के लिए कैसे आकार बदला जाना चाहिए
D.
The position of the element in the viewport
व्यूपोर्ट में तत्व की स्थिति
Question No# :
45
out of 50
Report Bug
Bookmark
What is the correct syntax for applying a class in CSS
CSS में क्लास लगाने के लिए सही सिंटैक्स क्या है
A.
#classname
#वर्गनाम
B.
.classname
वर्गनाम
C.
classname
वर्गनाम
D.
*classname
*वर्गनाम
Question No# :
46
out of 50
Report Bug
Bookmark
Which of the following selector selects the elements that are the default among a set of similar elements?
निम्नलिखित में से कौन सा चयनकर्ता उन तत्वों का चयन करता है जो समान तत्वों के सेट के बीच डिफ़ॉल्ट हैं?
A.
:default
:default
B.
:%
:%
C.
:disabled
:disabled
D.
None of these
इनमें से कोई नहीं
Question No# :
47
out of 50
Report Bug
Bookmark
Which CSS attribute(s) should one use to create a pink dotted border around an image?
किसी छवि के चारों ओर गुलाबी डॉटेड बॉर्डर बनाने के लिए किस सीएसएस विशेषता (विशेषताओं) का उपयोग करना चाहिए?
A.
border-line
बॉर्डर-लाइन
B.
border-style
बॉर्डर-स्टाइल
C.
border-color
बॉर्डर-कलर
D.
Both B and C
बी और सी दोनों
Question No# :
48
out of 50
Report Bug
Bookmark
What is true about CSS?
CSS के बारे में क्या सत्य है?
A.
Apply styles for the web page
वेबपेज में स्टाइल अप्लाई करने के लिए
B.
Define structure of the web page
वेब पेज की संरचना को परिभाषित करने के लिए
C.
Provide meaning to the sections of the web page
वेब पेज के अनुभागों को अर्थ प्रदान करने के लिए
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
49
out of 50
Report Bug
Bookmark
What is true about the Box model of CSS ?
CSS के बॉक्स मॉडल के बारे में क्या सत्य है ?
A.
It defines a virtual box drawn around elements
यहाँ एलिमेंट के चारो और खाँचे गए वर्चुअल बॉक्स को परिभाषित करता है
B.
Content of each element is surrounded by padding only
प्रत्येक एलिमेंट का कंटेट केवल पैडिंग से घिरा होता हैं
C.
Content of each elemernt is surrounded by a border only
प्रत्येक एलिमेंट का कंटेन्ट केवल एक बॉर्डर से घिरा हुआ है
D.
Content of each element is surrounded by a margin only
प्रत्येक एलिमेंट का कंटेन्ट केवल एक मार्जिन से घिरा होता है
Question No# :
50
out of 50
Report Bug
Bookmark
Which of the following selector applied styles to elements that are valid per HTML5 validations set either with the pattern or type attributes ?
निम्न सेलेक्टरों में से कौन स्टाइल उन एलिमेंट पर लागू होता है जो एचटीएमएल5 मान्यताओं के अनुसार वैध है या तो पैटर्न या प्रकार एट्रीब्यूटो के साथ सेट हैं ?
A.
:valid
:valid
B.
:required
:required
C.
:optional
:optional
D.
:invalid
:invalid
Latest Current Affairs 2026
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Online MBA 2 years
Online MCA
Online BCA
Best Website and Software Company in Allahabad