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
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
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# :
02
out of 50
Report Bug
Bookmark
For what purpose is the CSS padding property used ?
सीएसएस पैडिंग प्रॉपर्टी का उपयोग किस उद्देश्य के लिए किया जाता है?
A.
Border
Border
B.
Space
Space
C.
Background Color
Background Color
D.
Margin
Margin
Question No# :
03
out of 50
Report Bug
Bookmark
Which of the following selector selects the element that is the targeted in the URL?
निम्न में से कौन सा चयनकर्ता उस एलिमेंट्स का चयन करता है जो URL में लक्षित है?
A.
:selected
:सेलेक्टेड
B.
:link
:लिंक
C.
:target
:टारगेट
D.
:enabled
:इनेबल्ड
Question No# :
04
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# :
05
out of 50
Report Bug
Bookmark
Which property is used to change the left margin of an element?
किसी तत्व के बाएँ मार्जिन को बदलने के लिए किस गुण का उपयोग किया जाता है?
A.
margin-left
margin-left
B.
indent
indent
C.
padding-left
padding-left
D.
left-margin
left-margin
Question No# :
06
out of 50
Report Bug
Bookmark
What is the correct CSS syntax for making all the <p> elements bold?
A.
<p style="font-size:bold;">
<p style="font-size:bold;">
B.
p {text-size:bold;}
p {text-size:bold;}
C.
<p style="text-size:bold;">
<p style="text-size:bold;">
D.
p {font-weight:bold;}
p {font-weight:bold;}
Question No# :
07
out of 50
Report Bug
Bookmark
Which CSS property specifies how a video, or an image is resized to fit its content box ?
कौन सी सीएसएस संपत्ति निर्दिष्ट करती है कि कैसे एक वीडियो, या एक छवि को उसके सामग्री बॉक्स में फिट करने के लिए आकार दिया जाता है?
A.
Position
पोजीशन
B.
Object-position
ऑब्जेक्ट-पोज़िशन
C.
Object-Fit
ऑब्जेक्ट-फिट
D.
None of These
इनमें से कोई नहीं
Question No# :
08
out of 50
Report Bug
Bookmark
Which pseudo-class is used to define the style of an element when a user mouses over it
जब कोई उपयोगकर्ता किसी तत्व पर माउस ले जाता है तो उसकी शैली को परिभाषित करने के लिए किस छद्म वर्ग का उपयोग किया जाता है
A.
:link
:जोड़ना
B.
:hover
:होवर
C.
:active
:सक्रिय
D.
:focus
:केंद्र
Question No# :
09
out of 50
Report Bug
Bookmark
How do you make text bold using CSS?
आप CSS का उपयोग करके टेक्स्ट को बोल्ड कैसे बनाते हैं?
A.
style:bold;
style:bold;
B.
font:bold;
font:bold;
C.
font-weight:bold;
font-weight:bold;
D.
text:bold;
text:bold;
Question No# :
10
out of 50
Report Bug
Bookmark
Which of the following is the correct syntax for a CSS ID selector
सीएसएस आईडी चयनकर्ता के लिए निम्नलिखित में से कौन सा सही सिंटैक्स है
A.
#idname {}
#आईडीनाम {}
B.
.idname {}
. दस्तावेज़नाम {}
C.
idname {}
दूसरा नाम {}
D.
*idname {}
*आईडीनाम {}
Question No# :
11
out of 50
Report Bug
Bookmark
From the below mentioned CSS properties, which of the following is used to make the text bold?
नीचे दिए गए सी एस एस प्रॉपर्टी से, टेक्स्ट को बोल्ड बनाने के लिए निम्न में से किसका उपयोग किया जाता है?
A.
Text-align: bold
Text-align: bold
B.
Font-style: bold
Font-style: bold
C.
Font-weight: bold
Font-weight: bold
D.
Text-decoration: bold
Text-decoration: bold
Question No# :
12
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# :
13
out of 50
Report Bug
Bookmark
What is not correct about the Style class?
स्टाइल क्लास के बारे में क्या सही नहीं है?
A.
Apply only to specific element types defined in the style sheet
केवल स्टाइल शीट में परिभाषित विशिष्ट एलिमेंट प्रकारों पर लागू होते है
B.
Define styles that can be applied to any element
शैलियों को परिभाषित करें जिन्हे किसी भी एलिमेंट पर लागू किया जा सकता है
C.
Style-class declarations are preceded by an underscore
स्टाइल-क्लास डिक्लेरेशन्स अंडरस्कोर से पहले होती हैं
D.
Style-class declarations are preceded by a period
स्टाइल-क्लास डिक्लेरेशन्स एक पीरियड से पहले होती हैं
Question No# :
14
out of 50
Report Bug
Bookmark
What is the purpose of the CSS property flex-direction
सीएसएस प्रॉपर्टी फ्लेक्स-डायरेक्शन का उद्देश्य क्या है
A.
Sets the direction of the text within the element
तत्व के भीतर पाठ की दिशा निर्धारित करता है
B.
Defines the order of stacking for positioned elements
स्थित तत्वों के लिए स्टैकिंग के क्रम को परिभाषित करता है
C.
Sets the direction of the flexible items inside a flex container
फ्लेक्स कंटेनर के अंदर लचीली वस्तुओं की दिशा निर्धारित करता है
D.
Controls the spacing between lines of text
पाठ की पंक्तियों के बीच अंतर को नियंत्रित करता है
Question No# :
15
out of 50
Report Bug
Bookmark
The CSS property box-shadow: 5px 5px 10px #888888; does what to an element
सीएसएस संपत्ति बॉक्स-छाया: 5px 5px 10px #888888; किसी तत्व के लिए क्या करता है
A.
Adds a border to the element
तत्व में एक बॉर्डर जोड़ता है
B.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
C.
Applies a shadow to the element with specified offset, blur, and color
निर्दिष्ट ऑफसेट, धुंधलापन और रंग के साथ तत्व पर छाया लागू करता है
D.
Sets the transparency of the element
तत्व की पारदर्शिता निर्धारित करता है
Question No# :
16
out of 50
Report Bug
Bookmark
For fully transparent which option is right
पूर्णतः पारदर्शी के लिए कौन सा विकल्प सही है?
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
None of these
Question No# :
17
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# :
18
out of 50
Report Bug
Bookmark
How to apply styles to all <span> element inside para’s having class ‘style’?
A.
p.style span
p.style span
B.
p.style.span
p.style.span
C.
p.style span*
p.style span*
D.
none of the above
none of the above
Question No# :
19
out of 50
Report Bug
Bookmark
How do you select all paragraphs in CSS
आप सीएसएस में सभी पैराग्राफ का चयन कैसे करते हैं
A.
p:all
पी:सभी
B.
paragraph:all
अनुच्छेद:सभी
C.
p *
पी *
D.
p
पी
Question No# :
20
out of 50
Report Bug
Bookmark
How will you make all paragraph text color is 'RED' ?
आप सभी पैराग्राफ के टेक्स्ट को 'लाल' रंग में कैसे करेंगे ?
A.
p { color: red; }
p { color: red; }
B.
p { color:rgb(255,0,0); }
p { color:rgb(255,0,0); }
C.
p { color: rgba(255,0,0,1); }
p { color: rgba(255,0,0,1); }
D.
all of the above
all of the above
Question No# :
21
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# :
22
out of 50
Report Bug
Bookmark
Which CSS pseudo-class is used to select and style a link that has been visited?
विज़िट किए गए लिंक को चुनने और स्टाइल करने के लिए किस सीएसएस छद्म-वर्ग का उपयोग किया जाता है
A.
:link
:जोड़ना
B.
:visited
:का दौरा किया
C.
:active
:सक्रिय
D.
:hover
:होवर
Question No# :
23
out of 50
Report Bug
Bookmark
When we write <img src="img.png">, what "img.png" inside double quote implies?
जब हम <img src="img.png"> लिखते हैं, तो डबल कोट के अंदर "img.png" का क्या बताता है?
A.
element
एलिमेंट
B.
attribute
एट्रीब्यूट
C.
value
वैल्यू
D.
operator
ऑपरेटर
Question No# :
24
out of 50
Report Bug
Bookmark
How do you select all p elements inside a div element?
A.
div p
div p
B.
div.p
div.p
C.
div + p
div + p
D.
div ~ p
div ~ p
Question No# :
25
out of 50
Report Bug
Bookmark
Function that allow calculation in CSS?
वह फ़ंक्शन जो सीएसएस में गणना की अनुमति देता है?
A.
sum()
sum()
B.
eval()
eval()
C.
calc()
calc()
D.
total()
total()
Question No# :
26
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# :
27
out of 50
Report Bug
Bookmark
How will you change font for a paragraph text?
आप किसी टेक्स्ट का फ़ॉन्ट कैसे बदलेंगे?
A.
p{font-style: "Times New Roman";}
p{font-style: "Times New Roman";}
B.
p{font-family:"Times New "roman",Times,serif;}
p{font-family:"Times New "roman",Times,serif;}
C.
p{font-weight:"Times New Roman",Times,serif;}
p{font-weight:"Times New Roman",Times,serif;}
D.
None of these
इनमें से कोई नहीं
Question No# :
28
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# :
29
out of 50
Report Bug
Bookmark
Which of the following selector selects the elements that is the first child of its parent that is of its type ?
निम्नलिखित में से कौन सा सेलेक्टर उस एलिमेंट का चयन करता है जो अपने पैरेंट का पहला चाइल्ड है जो अपने प्रकार का है ?
A.
:first-of-type
:first-of-type
B.
:last-child
:last-child
C.
::first-line
::first-line
D.
::first-letter
::first-letter
Question No# :
30
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# :
31
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# :
32
out of 50
Report Bug
Bookmark
Which CSS property is used to change the text color of an element?
किसी तत्व के टेक्स्ट का रंग बदलने के लिए किस CSS गुण का उपयोग किया जाता है?
A.
text-color
text-color
B.
color
color
C.
font-color
font-color
D.
All of These
इनमे से सभी
Question No# :
33
out of 50
Report Bug
Bookmark
How do you link an external CSS file to an HTML document
आप किसी बाहरी CSS फ़ाइल को HTML दस्तावेज़ से कैसे लिंक करते हैं
A.
a) <link rel="stylesheet" type="text/css" href="style.css">
<लिंक rel='स्टाइलशीट' प्रकार='टेक्स्ट/सीएसएस' href='style.css'>
B.
<style src="style.css">
<स्टाइल src='style.css'>
C.
<link type="text/css" href="style.css">
<लिंक प्रकार = "टेक्स्ट/सीएसएस" href = "style.css">
D.
<style link="style.css">
<स्टाइल लिंक='स्टाइल.सीएसएस'>
Question No# :
34
out of 50
Report Bug
Bookmark
Which symbol indicates class selector in CSS.
CSS में कौन सा सिंबल क्लास सेलेक्टर को इंडीकेट करता है।
A.
Hash
हैश
B.
Plus
प्लस
C.
Dot
डॉट
D.
None
कोई भी नहीं
Question No# :
35
out of 50
Report Bug
Bookmark
How do you add a background color for all <h1> elements?
A.
all.h1 { background-color:#FFFFFF; }
all.h1 { background-color:#FFFFFF; }
B.
h1 { background-color:#FFFFFF; }
h1 { background-color:#FFFFFF; }
C.
h1.all { background-color:#FFFFFF; }
h1.all { background-color:#FFFFFF; }
D.
none of the above
none of the above
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
The CSS property min-width is used to:
सीएसएस संपत्ति न्यूनतम-चौड़ाई का उपयोग इसके लिए किया जाता है:
A.
Set the maximum width of an element
किसी तत्व की अधिकतम चौड़ाई निर्धारित करें
B.
Specify the minimum width of an element
किसी तत्व की न्यूनतम चौड़ाई निर्दिष्ट करें
C.
Set the minimum font size of text
टेक्स्ट का न्यूनतम फ़ॉन्ट आकार सेट करें
D.
Change the background color of an element
किसी तत्व का पृष्ठभूमि रंग बदलें
Question No# :
38
out of 50
Report Bug
Bookmark
How to apply specific styles to h1 tag only when mouse points to it?
कसी H1 टैग पे माउस ले जाने पे कोई कस प्रोपेरी कैसे लगाएंगे
A.
h1.hover
h1.hover
B.
h1*hover
h1 *hover
C.
h1:hover
h1:hover
D.
h1-hover
h1-hover
Question No# :
39
out of 50
Report Bug
Bookmark
How do you group selectors?
आप चयनकर्ताओं को कैसे समूहित करते हैं?
A.
Separate each selector with a plus sign
Separate each selector with a plus sign
B.
Separate each selector with a comma
Separate each selector with a comma
C.
Separate each selector with a space
Separate each selector with a space
D.
All of These
All of These
Question No# :
40
out of 50
Report Bug
Bookmark
The CSS property border-radius: 10px; is used for:
सीएसएस संपत्ति सीमा-त्रिज्या: 10px; के लिए प्रयोग किया जाता है:
A.
Adding a shadow to the border of an element
किसी तत्व की सीमा पर छाया जोड़ना
B.
Creating rounded corners for an element
किसी तत्व के लिए गोल कोने बनाना
C.
Applying a border to the text
टेक्स्ट पर बॉर्डर लगाना
D.
Changing the width of the border
बॉर्डर की चौड़ाई बदलना
Question No# :
41
out of 50
Report Bug
Bookmark
What is the purpose of the margin property in CSS
CSS में मार्जिन प्रॉपर्टी का उद्देश्य क्या है
A.
Adds space inside an element
किसी तत्व के अंदर स्थान जोड़ता है
B.
Adds space outside an element
किसी तत्व के बाहर स्थान जोड़ता है
C.
Sets the font size
फ़ॉन्ट आकार सेट करता है
D.
Changes the background color
पृष्ठभूमि का रंग बदलता है
Question No# :
42
out of 50
Report Bug
Bookmark
In the following transition, what does .4s describe? transition: color .4s linear;
निम्नलिखित ट्रांजीशन में, .4s क्या वर्णन करता है?
A.
Word-spacing
Word-spacing
B.
Padding
Padding
C.
Duration
Duration
D.
Property
Property
Question No# :
43
out of 50
Report Bug
Bookmark
Which selector targets only <li> elements that are directly under an <ul>?
कौन सा चयनकर्ता केवल <li> तत्वों को लक्षित करता है जो सीधे <ul> के अंतर्गत हैं
A.
ul > li
ul > li
B.
ul li
ul li
C.
ul + li
ul + li
D.
ul ~ li
ul ~ li
Question No# :
44
out of 50
Report Bug
Bookmark
Which of the following CSS selectors are used to specify a group of elements?
निम्नलिखित में से किस सीएसएस चयनकर्ता का उपयोग तत्वों के समूह को निर्दिष्ट करने के लिए किया जाता है?
A.
tag
tag
B.
id
id
C.
class
class
D.
both class and tag
both class and tag
Question No# :
45
out of 50
Report Bug
Bookmark
What are the benefit of using CSS in web pages
वेब पेजों में CSS का उपयोग करने के क्या फायदे हैं
A.
Easier to maintain and update
रखरखाव और अद्यतन करना आसान
B.
Greater consistency in design
डिज़ाइन में अधिक स्थिरता
C.
More formatting options.
. अधिक स्वरूपण विकल्प.
D.
All of the above
ऊपर के सभी
Question No# :
46
out of 50
Report Bug
Bookmark
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?
चौड़ाई विशेषता का मान क्या होना चाहिए, ताकि तत्व की चौड़ाई अपने मूल तत्व की वर्तमान चौड़ाई के अनुसार समायोजित हो जाए?
A.
100rem
100rem
B.
100%
100%
C.
100vw
100vw
D.
100em
100em
Question No# :
47
out of 50
Report Bug
Bookmark
Which of the following property is used to make the text underline in CSS?
CSS में टेक्स्ट को अंडरलाइन करने के लिए निम्नलिखित में से किस प्रॉपर्टी का उपयोग किया जाता है?
A.
text-decoration
text-decoration
B.
font-dimension
font-dimension
C.
text-style
text-style
D.
text-underline
text-underline
Question No# :
48
out of 50
Report Bug
Bookmark
Which CSS property is used to change the text color of an element
किसी तत्व के टेक्स्ट का रंग बदलने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
font-color
लिपि का रंग
B.
text-color
पाठ का रंग
C.
color
रंग
D.
text-style
पाठ शैली
Question No# :
49
out of 50
Report Bug
Bookmark
Which of the following property is used to control the scrolling of an image in the background?
पेज के बैकग्राउंड में किसी पिक्चर की स्क्रॉलिंग को नियंत्रित करने के लिए निम्नलिखित में से किस प्रॉपर्टी का उपयोग किया जाता है?
A.
background-attachment
background-attachment
B.
background
background
C.
background-repeat
background-repeat
D.
background-position
background-position
Question No# :
50
out of 50
Report Bug
Bookmark
What is work of padding property?
पैडिंग प्रॉपर्टी का कार्य क्या है?
A.
to set Space between its content and its border
to set Space between its content and its border
B.
to set Space outside content
to set Space outside content
C.
to set Space between tow lines
to set Space between tow lines
D.
to set Space between to character
to set Space between to character
Latest Current Affairs 2025
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