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
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
Which CSS property is used to set the style of a list item marker
सूची आइटम मार्कर की शैली सेट करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
marker-style
मार्कर-शैली
B.
list-style-type
सूची-शैली-प्रकार
C.
list-marker
सूची-चिह्नक
D.
item-style
आइटम शैली
Question No# :
02
out of 50
Report Bug
Bookmark
What is the purpose of the CSS property border-collapse
सीएसएस संपत्ति बॉर्डर-पतन का उद्देश्य क्या है
A.
Adds a border to the element
तत्व में एक बॉर्डर जोड़ता है
B.
Collapses the borders of table cells into a single border
तालिका कक्षों की सीमाओं को एक ही सीमा में संक्षिप्त करता है
C.
Separates the borders of adjacent cells in a table
किसी तालिका में आसन्न कोशिकाओं की सीमाओं को अलग करता है
D.
Changes the color of the border
बॉर्डर का रंग बदलता है
Question No# :
03
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# :
04
out of 50
Report Bug
Bookmark
Which CSS property is used to control the font size of an elemen
किसी तत्व के फ़ॉन्ट आकार को नियंत्रित करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
font-style
लिपि शैली
B.
font-size
फ़ॉन्ट आकार
C.
text-size
टेक्स्ट का साइज़
D.
size
आकार
Question No# :
05
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# :
06
out of 50
Report Bug
Bookmark
Which property is used to display the text in italics?
A.
font-family
font-family
B.
font-style
font-style
C.
font-weight
font-weight
D.
text-style
text-style
Question No# :
07
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# :
08
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# :
09
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# :
10
out of 50
Report Bug
Bookmark
Which selector selects all <p> elements inside a <div>?
कौन सा सेलेक्टर <div> के अंदर मौजूद सभी <p> तत्वों को सेलेक्ट करता है?
A.
Child Selector
Child Selector
B.
Descendant Selector
Descendant Selector
C.
Adjacent Selector
Adjacent Selector
D.
Universal Selector
Universal Selector
Question No# :
11
out of 50
Report Bug
Bookmark
How many types we can apply CSS?
CSS को हम कितने प्रकार से लगा सकते हैं?
A.
1
1
B.
2
2
C.
3
3
D.
None of these
None of these
Question No# :
12
out of 50
Report Bug
Bookmark
Identify the incorrect statement about a PseudoClass in CSS.
CSS में एक PseudoClass के बारे में गलत कथन की पहचान करें।
A.
It is a style class defined in CSS
यहाँ CSS में परिभाषित एक स्टाइल है
B.
gives the author access to content not specifically declared in the document
यहाँ लेखक को दस्तावेज में विशेष रूप में घोषित नहीं की गयी सामग्री तक पहुँच प्रदान करता है
C.
Pseudoclass is separated by an underscore from the name of the element
सूडोक्लास को एलिमेंट के नाम से अंडरस्कोर द्वारा अलग किया जाता है
D.
Pseudoclass are separated by a colon from the name of the elemernt
सूडोक्लास को एलिमेंट के नाम से एक क्लोन द्वारा अलग किया जाता है
Question No# :
13
out of 50
Report Bug
Bookmark
Which CSS property is used to make the text bold
टेक्स्ट को बोल्ड करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
font-weight
font-weight
B.
font-style
font-style
C.
text-decoratio
text-decoratio
D.
text-weight
text-weight
Question No# :
14
out of 50
Report Bug
Bookmark
Which CSS pseudo-class is used to select an element when it is being clicked
किसी तत्व को क्लिक करते समय उसका चयन करने के लिए किस सीएसएस छद्म वर्ग का उपयोग किया जाता है
A.
:link
:जोड़ना
B.
:visited
:का दौरा किया
C.
:active
:सक्रिय
D.
:hover
:होवर
Question No# :
15
out of 50
Report Bug
Bookmark
Which of the following is the CSS Extension Prefixes for Webkit ?
निम्नलिखित में से कौन वेबकिट के लिए सी एस एस एक्सटेंशन प्रीफिक्स है?
A.
-webkit
-webkit
B.
-0-
-0-
C.
web
web
D.
-chrome
-chrome
Question No# :
16
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# :
17
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# :
18
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# :
19
out of 50
Report Bug
Bookmark
Which of the following properties is used to set the face of a font?
फॉण्ट का फेस सेट करने के लिए निम्न में से किस प्रॉपर्टी का प्रयोग किया जाता है?
A.
font-family
फ़ॉन्ट-फैमिली
B.
font-face
फॉन्ट फ़ेस
C.
font-variant
फॉन्ट-वैरिएंट
D.
font-style
फॉन्ट-स्टाइल
Question No# :
20
out of 50
Report Bug
Bookmark
If we do not want to allow a floating div to the left side of an element, which css property will you use?
यदि हम किसी एलिमेंट के लेफ्ट साइड फ्लोटिंग डिव की अनुमति नहीं देना चाहते हैं, तो आप किस सीएसएस प्रॉपर्टी का उपयोग करेंगे?
A.
Margin
मार्जिन
B.
Clear
क्लियर
C.
Float
फ्लोट
D.
Padding
पैडिंग
Question No# :
21
out of 50
Report Bug
Bookmark
How do you make a list item in an unordered list display without bullets
आप बुलेट के बिना एक अव्यवस्थित सूची डिस्प्ले में एक सूची आइटम कैसे बनाते हैं
A.
list-style-type: none;
list-style-type: none;
B.
text-decoration: none;
text-decoration: none;
C.
bullet-style: none;
bullet-style: none;
D.
display: no-bullet;
display: no-bullet;
Question No# :
22
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# :
23
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# :
24
out of 50
Report Bug
Bookmark
What does the CSS property word-wrap: break-word; do
CSS प्रॉपर्टी वर्ड-रैप: ब्रेक-वर्ड; का क्या अर्थ है? करना
A.
Breaks the text into individual words
पाठ को अलग-अलग शब्दों में तोड़ता है
B.
Wraps the text within the container when it reaches the end
अंत तक पहुंचने पर टेक्स्ट को कंटेनर के भीतर लपेट देता है
C.
Breaks the text into separate lines
टेक्स्ट को अलग-अलग पंक्तियों में तोड़ता है
D.
Wraps the text within the element without breaking words
शब्दों को तोड़े बिना टेक्स्ट को तत्व के भीतर लपेट देता है
Question No# :
25
out of 50
Report Bug
Bookmark
What is the purpose of the CSS property position: relative;?
सीएसएस संपत्ति स्थिति का उद्देश्य क्या है: सापेक्ष;
A.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
B.
Positions the element relative to its normal position
तत्व को उसकी सामान्य स्थिति के सापेक्ष स्थित करता है
C.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
D.
Applies relative positioning to all child elements
सभी चाइल्ड तत्वों पर सापेक्ष स्थिति लागू करता है
Question No# :
26
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# :
27
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# :
28
out of 50
Report Bug
Bookmark
What is true about Conflicting Styles?
कॉनफ़्लिक्टिंग स्टाइल के बारे में क्या सच है?
A.
Conflict occurs as styles can be defined by a user, an author or a user agent (e.g a web browser)
कॉनफ़्लिक्ट तब होता है जब स्टाइल को एक उपयोगकर्त, एक लेखक या एक उपयोगकर्त एजेंट (जैसे, एक वेब ब्राउज़र ) द्वारा परिभाषित किया जा सकता है
B.
Styles "cascade," or flow together
स्टाइल "कैस्केड ",या एक साथ फ्लो होती है
C.
Ultimate appearance of elements depends on a combination of styles defined in several ways
एलिमेंट का अंतिम स्वरुप कई तरीको से परिभाषित स्टाइल पर पुर्वरता लेती है
D.
Styles defined by the user agent take precedence over styles defined by the user
यूजर एजेंट द्वारा परिभाषित स्टाइल यूजर द्वारा परिभाषित स्टाइल पर पूर्वता लेती है
Question No# :
29
out of 50
Report Bug
Bookmark
The CSS property text-align: center; is used to
सीएसएस संपत्ति टेक्स्ट-एलाइन: सेंटर; करने के लिए प्रयोग किया जाता है
A.
Align the text to the left
पाठ को बाईं ओर संरेखित करें
B.
Align the text to the right
पाठ को दाईं ओर संरेखित करें
C.
Center-align the text
पाठ को केंद्र-संरेखित करें
D.
Justify the text
पाठ का औचित्य सिद्ध करें
Question No# :
30
out of 50
Report Bug
Bookmark
How do you apply a background image to an element in CSS?
आप सीएसएस में किसी तत्व पर पृष्ठभूमि छवि कैसे लागू करते हैं?
A.
image: url('background.jpg');
छवि: यूआरएल('बैकग्राउंड.जेपीजी');
B.
background-image: url('background.jpg');
पृष्ठभूमि-छवि: यूआरएल ('पृष्ठभूमि.jpg');
C.
img: url('background.jpg');
img: url('background.jpg');
D.
background: url('background.jpg');
पृष्ठभूमि: url('background.jpg');
Question No# :
31
out of 50
Report Bug
Bookmark
What is the proper html syntax for referencing an external style sheet ?
एक्सटर्नल स्टाइल शीट को संदर्भित करने के लिए उचित एच टी ऍम एल सिंटैक्स क्या है?
A.
<style src="demostyle.css">
<style src="demostyle.css">
B.
<stylesheet>demostyle.css</stylesheet>
<stylesheet>demostyle.css</stylesheet>
C.
<link rel="stylesheet" type="text/css" href="demostyle.css>
<link rel="stylesheet" type="text/css" href="demostyle.css>
D.
None of these
None of these
Question No# :
32
out of 50
Report Bug
Bookmark
What does the CSS property display: none; do
सीएसएस संपत्ति क्या प्रदर्शित करती है: कोई नहीं; करना
A.
Hides the element
तत्व को छुपाता है
B.
Changes the font
फ़ॉन्ट बदलता है
C.
Increases the element's size
तत्व का आकार बढ़ाता है
D.
Makes the element visible
तत्व को दृश्यमान बनाता है
Question No# :
33
out of 50
Report Bug
Bookmark
Which CSS property is used to set the style of the cursor when hovering over an element
किसी तत्व पर होवर करते समय कर्सर की शैली सेट करने के लिए किस सीएसएस प्रॉपर्टी का उपयोग किया जाता है
A.
cursor-style
कर्सर शैली
B.
hover-cursor
होवर-कर्सर
C.
cursor-type
कर्सर प्रकार
D.
cursor
कर्सर
Question No# :
34
out of 50
Report Bug
Bookmark
How do you select elements with class name "test"?
A.
*test
*test
B.
#test
#test
C.
.test
.test
D.
test
test
Question No# :
35
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# :
36
out of 50
Report Bug
Bookmark
How do you select an element with id "demo"?
A.
demo
demo
B.
#demo
#demo
C.
.demo
.demo
D.
*demo
*demo
Question No# :
37
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# :
38
out of 50
Report Bug
Bookmark
Which CSS unit is relative to the font-size of the nearest parent element with a specified font size
कौन सी सीएसएस इकाई निर्दिष्ट फ़ॉन्ट आकार के साथ निकटतम मूल तत्व के फ़ॉन्ट-आकार से संबंधित है
A.
px
पिक्सल
B.
em
ईएम
C.
rem
रेम
D.
vw
vw
Question No# :
39
out of 50
Report Bug
Bookmark
How will you make all paragraph elements 'GREY in color?
आप सभी पैराग्राफ़ एलिमेंट्स को 'ग्रे रंग में' कैसे बनाएंगे?
A.
p.all{color: grey;}
p.all{color: grey;}
B.
p.all {color: #990000;}
p.all {color: #990000;}
C.
all.p {color: #998877:)
all.p {color: #998877:)
D.
p {color: grey;}
p {color: grey;}
Question No# :
40
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# :
41
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# :
42
out of 50
Report Bug
Bookmark
If the elements - <p>, <h4> and <a> tags are needed to be of the orange color, then which of the following will do this?
A.
p h4 a { color: orange; }
p h4 a { color: orange; }
B.
p; h4; a { color: orange; }
p; h4; a { color: orange; }
C.
p+a+h4 { color: orange; }
p+a+h4 { color: orange; }
D.
h4, a, p { color: orange; }
h4, a, p { color: orange; }
Question No# :
43
out of 50
Report Bug
Bookmark
Which of the following file extensions can be used for CSS files
CSS फ़ाइलों के लिए निम्नलिखित में से किस फ़ाइल एक्सटेंशन का उपयोग किया जा सकता है
A.
.html
html
B.
.css
सीएसएस
C.
.js
.जेएस
D.
.style
।शैली
Question No# :
44
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# :
45
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# :
46
out of 50
Report Bug
Bookmark
Which of the following is not a value for font-style property?
A.
normal
normal
B.
italic
italic
C.
oblique
oblique
D.
none of the above
none of the above
Question No# :
47
out of 50
Report Bug
Bookmark
If we want to use a dotted border around an image, which css property will we use?
A.
border-color
border-color
B.
border-decoration
border-decoration
C.
border-style
border-style
D.
border-line
border-line
Question No# :
48
out of 50
Report Bug
Bookmark
What does the CSS property background-repeat: no-repeat; do
CSS प्रॉपर्टी बैकग्राउंड-रिपीट: नो-रिपीट; क्या करती है
A.
Repeats the background horizontally and vertically
पृष्ठभूमि को क्षैतिज और लंबवत रूप से दोहराता है
B.
Does not repeat the background image
पृष्ठभूमि छवि को दोहराता नहीं है
C.
Repeats the background only vertically
पृष्ठभूमि को केवल लंबवत रूप से दोहराता है
D.
Changes the background color
पृष्ठभूमि का रंग बदलता है
Question No# :
49
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# :
50
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
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