O Level Online Exam
Menu mobile
Home
MCQ Topic Wise
IT 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
IT TOOLS AND NETWORK BASICS
New
WEB DESIGNING AND PUBLISHING
New
PYTHON PROGRAMMING
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Previous Year Papers
Practical Exam Papers
Videos
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
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# :
02
out of 50
Report Bug
Bookmark
Which CSS property changes text color?
कौन सी सीएसएस प्रॉपर्टी टेक्स्ट का रंग बदलती है?
A.
text-color
text-color
B.
font-color
font-color
C.
font-style
font-style
D.
color
color
Question No# :
03
out of 50
Report Bug
Bookmark
Which of the following components of the CSS box model are transparent?
सीएसएस बॉक्स मॉडल के निम्नलिखित में से कौन से घटक पारदर्शी हैं?
A.
Padding
Padding
B.
Margin
Margin
C.
Border
Border
D.
Both A and B
Both A and B
Question No# :
04
out of 50
Report Bug
Bookmark
How can one change the font of an element?
कोई किसी तत्व का फॉन्ट कैसे बदल सकता है?
A.
f:
f:
B.
Font:
Font:
C.
Font-family
Font-family
D.
Font:b
Font:b
Question No# :
05
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# :
06
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# :
07
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# :
08
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# :
09
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# :
10
out of 50
Report Bug
Bookmark
How can you select an element with the id "example" in CSS
आप सीएसएस में "उदाहरण" आईडी के साथ एक तत्व का चयन कैसे कर सकते हैं
A.
#example
#उदाहरण
B.
.example
उदाहरण
C.
element#example
तत्व#उदाहरण
D.
example
उदाहरण
Question No# :
11
out of 50
Report Bug
Bookmark
How do you display hyperlinks without an underline?
A.
a {decoration:no-underline;}
a {decoration:no-underline;}
B.
a {underline:none;}
a {underline:none;}
C.
a {text-decoration:none;}
a {text-decoration:none;}
D.
a {text-decoration:no-underline;}
a {text-decoration:no-underline;}
Question No# :
12
out of 50
Report Bug
Bookmark
Which of the following is used to apply a specific rule and can never be overridden in CSS ?
निम्नलिखित में से किसका उपयोग एक विशिष्ट नियम को लागू करने के लिए किया जाता है और इसे CSS में कभी भी ओवरराइड नहीं किया जा सकता है?
A.
@important
@important
B.
!important!
!important!
C.
!important
!important
D.
important!
important!
Question No# :
13
out of 50
Report Bug
Bookmark
By using CSS style or code, how can one remove the underline from all hyperlinks?
सी एस एस स्टाइल या कोड का उपयोग करके, सभी हाइपरलिंक्स से रेखांकन को कैसे हटाया जा सकता है?
A.
a {text-decoration: no-underline;}
a {text-decoration: no-underline;}
B.
a {text: no-underline;}
a {text: no-underline;}
C.
a {text-decoration:none;}
a {text-decoration:none;}
D.
a (text-style: no-underline;}
a (text-style: no-underline;}
Question No# :
14
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# :
15
out of 50
Report Bug
Bookmark
Default value of CSS position property is
सीएसएस पोजीशन प्रॉपर्टी का डिफ़ॉल्ट मान है
A.
Relative
Relative
B.
Absolute
Absolute
C.
Fixed
Fixed
D.
Static
Static
Question No# :
16
out of 50
Report Bug
Bookmark
Which CSS property is used to control the order of flex items in the container
कंटेनर में फ्लेक्स आइटम के क्रम को नियंत्रित करने के लिए किस सीएसएस प्रॉपर्टी का उपयोग किया जाता है
A.
flex-order
flex-order
B.
order
order
C.
flex-direction
flex-direction
D.
item-order
item-order
Question No# :
17
out of 50
Report Bug
Bookmark
The CSS property max-width is used to:
CSS प्रॉपर्टी max-width का उपयोग इसके लिए किया जाता है:
A.
Set the maximum height of an element
किसी तत्व की अधिकतम ऊंचाई निर्धारित करें
B.
Set the maximum width of an element
किसी तत्व की अधिकतम चौड़ाई निर्धारित करें
C.
Set the minimum width of an element
किसी तत्व की न्यूनतम चौड़ाई निर्धारित करें
D.
Change the font size
फ़ॉन्ट आकार बदलें
Question No# :
18
out of 50
Report Bug
Bookmark
What does the CSS property box-shadow allow you to do
CSS प्रॉपर्टी बॉक्स-शैडो आपको क्या करने की अनुमति देती है
A.
Add a shadow to the border of an element
किसी तत्व की सीमा पर एक छाया जोड़ें
B.
Change the background color of an element
किसी तत्व का पृष्ठभूमि रंग बदलें
C.
Increase the element's size
तत्व का आकार बढ़ाएँ
D.
Apply a shadow to the text inside an element
किसी तत्व के अंदर टेक्स्ट पर छाया लागू करें
Question No# :
19
out of 50
Report Bug
Bookmark
What this code will happen: <p style="color:blue">text</p>
यह कोड क्या होगा: <p style="color:blue">text</p>
A.
to make that specific paragraph text color as blue
उस स्पेसिफ़िक पैराग्राफ को नीला बनाने के लिए
B.
Error
एरर
C.
nothing happen
कुछ नहीं होगा
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
20
out of 50
Report Bug
Bookmark
Which of the following selector select sibling ?
निम्नलिखित में से कौन सा सेलेक्टर सिबलिंग को सेलेक्ट करता है?
A.
E.class
E.class
B.
E~F
E~F
C.
*
*
D.
E,F,G
E,F,G
Question No# :
21
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# :
22
out of 50
Report Bug
Bookmark
Which of the following selector selects an element that has no childern ? ?
निम्नलिखित में से कौन सा सेलेक्टर उस एलिमेंट का चयन करता है जो जिसके कोई चाइल्ड नहीं है ?
A.
:empty
:empty
B.
:nochild
:nochild
C.
:inheritance
:inheritance
D.
:no-child
:no-child
Question No# :
23
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# :
24
out of 50
Report Bug
Bookmark
Which value prevents a background image from repeating?
कौन सा मान पृष्ठभूमि छवि को दोहराने से रोकता है?
A.
repeat-x
repeat-x
B.
repeat-y
repeat-y
C.
no-repeat
no-repeat
D.
fixed
fixed
Question No# :
25
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# :
26
out of 50
Report Bug
Bookmark
Which CSS property controls the text size?
कौन सी सीएसएस प्रॉपर्टी टेक्स्ट आकार को नियंत्रित करती है
A.
text-size
text-size
B.
size
size
C.
text-length
text-length
D.
font-size
font-size
Question No# :
27
out of 50
Report Bug
Bookmark
Which CSS property should one use to encircle an image with text?
किसी छवि को टेक्स्ट के साथ घेरने के लिए किस सीएसएस प्रॉपर्टी का उपयोग करना चाहिए?
A.
Float
Float
B.
Push
Push
C.
Align
Align
D.
wrap
wrap
Question No# :
28
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# :
29
out of 50
Report Bug
Bookmark
Which element is used for or styling HTML5 layout?
HTML5 लेआउट के लिए या स्टाइलिंग के लिए किस तत्व का उपयोग किया जाता है?
A.
CSS
CSS
B.
jQuery
jQuery
C.
JavaScript
JavaScript
D.
PHP
PHP
Question No# :
30
out of 50
Report Bug
Bookmark
How do you apply styles to all <input> elements that are checked?
आप सभी checked <input> एलिमेंट (टैग) पर स्टाइल कैसे लागू करते हैं?
A.
input:checked
input:checked
B.
input:focus
input:focus
C.
input:hover
input:hover
D.
input:active
input:active
Question No# :
31
out of 50
Report Bug
Bookmark
How do you style all elements with a specific attribute, regardless of its value
आप सभी तत्वों को एक विशिष्ट विशेषता के साथ कैसे शैलीबद्ध करते हैं, चाहे उसका मूल्य कुछ भी हो
A.
[attr]
[attr]
B.
[attr=""]
[attr=''']
C.
[attr=*]
[attr=*]
D.
attr[ ]
attr[ ]
Question No# :
32
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# :
33
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# :
34
out of 50
Report Bug
Bookmark
The CSS property transition is used for
CSS प्रॉपर्टी ट्रांज़िशन का उपयोग किसके लिए किया जाता है
A.
Adding a smooth transition effect to an element
किसी तत्व में सहज संक्रमण प्रभाव जोड़ना
B.
Changing the font of an element
किसी तत्व का फ़ॉन्ट बदलना
C.
Controlling the transition between different pages
विभिन्न पृष्ठों के बीच संक्रमण को नियंत्रित करना
D.
Changing the color of an element
किसी तत्व का रंग बदलना
Question No# :
35
out of 50
Report Bug
Bookmark
How do you select an element with the class name "example" in CSS
सीएसएस मेंआप "example" नाम के क्लास के एलिमेंट का चयन कैसे करेंगे
A.
.example
.example
B.
#example
#example
C.
element.example
element.example
D.
example
example
Question No# :
36
out of 50
Report Bug
Bookmark
What is the correct HTML for referring to an external style sheet?
एक्सटरनल स्टाइल शीट को संदर्भित करने के लिए सही HTML क्या है?
A.
<style src="mystyle.css">
<style src="mystyle.css">
B.
<stylesheet>mystyle.css</stylesheet>
<stylesheet>mystyle.css</stylesheet>
C.
<link rel="stylesheet" type="text/css" href="mystyle.css">
<link rel="stylesheet" type="text/css" href="mystyle.css">
D.
<link rel="stylesheet" type="text/css" src="mystyle.css">
<link rel="stylesheet" type="text/css" src="mystyle.css">
Question No# :
37
out of 50
Report Bug
Bookmark
Which tag is used to link an external style sheet to a webpage?
बाहरी स्टाइल शीट को वेबपेज से जोड़ने के लिए किस टैग का उपयोग किया जाता है?
A.
<Link> tag
लिंक टैग
B.
<Style> tag
स्टाइल टैग
C.
<Script> tag
स्क्रिप्ट टैग
D.
@media
@मीडिया
Question No# :
38
out of 50
Report Bug
Bookmark
What is the correct CSS syntax for making all the <p> elements bold?
A.
p { font-weight:bold; }
p { font-weight:bold; }
B.
<p style=”font-size:bold;”>
<p style=”font-size:bold;”>
C.
p { text-size:bold; }
p { text-size:bold; }
D.
<p style=”text-size:bold;”>
<p style=”text-size:bold;”>
Question No# :
39
out of 50
Report Bug
Bookmark
Name the syntax of declaring a CSS rule is:
CSS नियम घोषित करने के सिंटैक्स का नाम है:
A.
property-name=value
प्रॉपर्टी-नेम=वैल्यू
B.
property-name : value
प्रॉपर्टी-नेम:वैल्यू
C.
property-name= value
प्रॉपर्टी-नेम=वैल्यू
D.
property-name:value;
प्रॉपर्टी-नेम:वैल्यू
Question No# :
40
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# :
41
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# :
42
out of 50
Report Bug
Bookmark
The __________ property allows to indent the first line of text in an element.
___ प्रॉपर्टी किसी एलिमेंट में टेक्स्ट की पहली पंक्ति को इंडेंट करने की अनुमति देता है।
A.
text-first
text-first
B.
text-indent
text-indent
C.
first-indent
first-indent
D.
text-first-indent
text-first-indent
Question No# :
43
out of 50
Report Bug
Bookmark
Which CSS property controls stacking order?
कौन सी सीएसएस प्रॉपर्टी स्टैकिंग ऑर्डर को नियंत्रित करती है?
A.
order
order
B.
stack
stack
C.
z-index
z-index
D.
layer
layer
Question No# :
44
out of 50
Report Bug
Bookmark
The CSS property font-weight is used to control:
A.
The size of the font
अक्षरों के बीच का अंतर
B.
The thickness of the font characters
फ़ॉन्ट वर्णों की मोटाई
C.
The color of the font
फ़ॉन्ट का रंग
D.
The spacing between letters
अक्षरों के बीच का अंतर
Question No# :
45
out of 50
Report Bug
Bookmark
Which technology is responsible for webpage styling?
वेबपेज स्टाइलिंग के लिए कौन सी तकनीक जिम्मेदार है?
A.
HTML
HTML
B.
CSS
CSS
C.
JavaScript
JavaScript
D.
PHP
PHP
Question No# :
46
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# :
47
out of 50
Report Bug
Bookmark
Which is not a valid Background property of css?
कौन सी सीएसएस की वैलिड बैकग्राउंड प्रॉपर्टी नहीं है?
A.
background-image
background-image
B.
background-position
background-position
C.
background-color
background-color
D.
background-iterate
background-iterate
Question No# :
48
out of 50
Report Bug
Bookmark
The CSS property outline: none; is used to:
सीएसएस संपत्ति रूपरेखा: कोई नहीं; करने के लिए प्रयोग किया जाता है
A.
Remove the border of an element
किसी एलिमेंट की सीमा हटाएँ
B.
Remove the shadow of an element
किसी एलिमेंट की छाया हटाएँ
C.
Remove the outline of an element
किसी एलिमेंट की रूपरेखा निकालें
D.
Remove the background color of an element
किसी एलिमेंट का पृष्ठभूमि रंग हटाएँ
Question No# :
49
out of 50
Report Bug
Bookmark
What happens if an inline style conflicts with an external CSS rule
यदि कोई इनलाइन शैली बाहरी सीएसएस नियम के साथ टकराव करती है तो क्या होता है
A.
The external CSS rule is applied
बाह्य CSS नियम लागू किया गया है
B.
The inline style is applied
इनलाइन शैली लागू की गई है
C.
Both are ignored
दोनों को नजरअंदाज किया जाता है
D.
The browser applies the styles randomly
ब्राउज़र शैलियों को बेतरतीब ढंग से लागू करता है
Question No# :
50
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
इनमे से कोई भी नहीं
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