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
Which selector is used to target all elements on a webpage
वेबपेज पर सभी तत्वों को लक्षित करने के लिए किस चयनकर्ता का उपयोग किया जाता है
A.
#
#
B.
*
*
C.
.
.
D.
!
!
Question No# :
02
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# :
03
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# :
04
out of 50
Report Bug
Bookmark
The CSS property transform-origin is used to
CSS प्रॉपर्टी ट्रांसफ़ॉर्म-ऑरिजिन का उपयोग किया जाता है
A.
Set the initial position of a transformed element
परिवर्तित तत्व की प्रारंभिक स्थिति निर्धारित करें
B.
Define the order of stacking for positioned elements
स्थित तत्वों के लिए स्टैकिंग के क्रम को परिभाषित करें
C.
Apply a shadow to the element
तत्व पर छाया लागू करें
D.
Change the font size of the element
तत्व का फ़ॉन्ट आकार बदलें
Question No# :
05
out of 50
Report Bug
Bookmark
Which HTML tag is used to apply an external CSS file
बाहरी CSS फ़ाइल को लागू करने के लिए किस HTML टैग का उपयोग किया जाता है
A.
<style>
<शैली>
B.
<css>
<सीएसएस>
C.
. <link>
<लिंक>
D.
. <script>
<स्क्रिप्ट>
Question No# :
06
out of 50
Report Bug
Bookmark
To control image repetition in CSS, the correct option is:
सी एस एस में इमेज रिपीटेशन को नियंत्रित करने के लिए सही विकल्प है:
A.
h1{ background-loop: none;}
h1{ background-loop: none;}
B.
h1{background-repeat: none; }
h1{background-repeat: none; }
C.
h1 { background-iterate: none;}
h1 { background-iterate: none;}
D.
None of the above
None of the above
Question No# :
07
out of 50
Report Bug
Bookmark
What does the CSS property opacity: 0.5; indicate?
सीएसएस संपत्ति का क्या अर्थ है अपारदर्शिता: 0.5; संकेत देना
A.
Makes the element transparent
तत्व को पारदर्शी बनाता है
B.
Increases the font size
फ़ॉन्ट आकार बढ़ाता है
C.
Adds a shadow to the element
तत्व में एक छाया जोड़ता है
D.
Changes the background color
पृष्ठभूमि का रंग बदलता है
Question No# :
08
out of 50
Report Bug
Bookmark
Which of the following is correct ?
निम्न में से कौन सा सही है ?
A.
Style sheets allow content to be optimized for more than one type of device.
स्टाइल शीट पेज को एक से अधिक प्रकार के डिवाइस के लिए अनुकूलित करने की अनुमति देती है।
B.
CSS can store web applications locally With the help of an offline cache
CSS ऑफ़लाइन कैश की सहायता से वेब एप्लिकेशन को स्थानीय रूप से संग्रहीत कर सकता
C.
Using CSS, we can view online website. In cache also ensures faster loading and better overall performance of the website.
CSS का उपयोग करके हम ऑनलाइन वेबसाइट देख सकते हैं। कैश में वेबसाइट की तेज़ लोडिंग और बेहतर समग्र प्रदर्शन भी सुनिश्चित होता है।
D.
All of the above.
ऊपर के सभी।
Question No# :
09
out of 50
Report Bug
Bookmark
What type of CSS is generally recommended for designing large web pages?
A.
Inline
Inline
B.
Internal
Internal
C.
External
External
D.
None of These
None of These
Question No# :
10
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# :
11
out of 50
Report Bug
Bookmark
CSS syntax is divided into____ part
CSS सिंटैक्स को____ भागो में विभाजित किया गया है
A.
Selector and Declaration
सिलेक्टर और डिक्लेरेशन
B.
Property name and value
प्रॉपर्टी नाम और वैल्यू
C.
Color and style
कलर और स्टाइल
D.
None-of these
इनमें से कोई नहीं
Question No# :
12
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# :
13
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# :
14
out of 50
Report Bug
Bookmark
How to apply styles to para’s having class ‘style’? (There are other elements with same class name)
A.
p
p
B.
p.style
p.style
C.
p-style
p-style
D.
.style
.style
Question No# :
15
out of 50
Report Bug
Bookmark
How to insert multiple line comments in a CSS file ?
एक सीएसएस फ़ाइल में एकाधिक लाइन कमेंट कैसे सम्मिलित करें?
A.
//statement
//statement
B.
'statement
'statement
C.
/*statement */
/*statement */
D.
// statement //
// statement //
Question No# :
16
out of 50
Report Bug
Bookmark
Which CSS property is used to set the background color of an element
किसी तत्व का पृष्ठभूमि रंग सेट करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
background-color
पृष्ठभूमि का रंग
B.
color
रंग
C.
bgcolor
बीजीरंग
D.
background
पृष्ठभूमि
Question No# :
17
out of 50
Report Bug
Bookmark
How do you add a comment in CSS
आप CSS में टिप्पणी कैसे जोड़ते हैं
A.
<!-- Comment -->
<!-- Comment -->->
B.
// Comment
// Comment
C.
/* Comment */
/* Comment */
D.
# Comment
# Comment
Question No# :
18
out of 50
Report Bug
Bookmark
Which of the following represents an internal style sheet?
A.
style=”tag{property:value;}”
style=”tag{property:value;}”
B.
<style> tag{property: value;} </style>
<style> tag{property: value;} </style>
C.
css=”tag{property=value;}”
css=”tag{property=value;}”
D.
<style> tag{property=value;} </style>
<style> tag{property=value;} </style>
Question No# :
19
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# :
20
out of 50
Report Bug
Bookmark
Select the CSS property that sets the width of an element’s bottom border.
उस सीएसएस प्रॉपर्टी का चयन करें जो किसी तत्व की निचली सीमा की चौड़ाई निर्धारित करती है?
A.
border-width
border-width
B.
border-bottom
border-bottom
C.
border-width-bottom
border-width-bottom
D.
border-bottom-width
border-bottom-width
Question No# :
21
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# :
22
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# :
23
out of 50
Report Bug
Bookmark
What CSS property would you use to align a block element horizontally in the center
किसी ब्लॉक तत्व को केंद्र में क्षैतिज रूप से संरेखित करने के लिए आप किस सीएसएस संपत्ति का उपयोग करेंगे
A.
text-align: center;
पाठ-संरेखण: केंद्र
B.
margin: auto;
मार्जिन: ऑटो;
C.
display: block;
प्रदर्शन: ब्लॉक;
D.
float: center;
फ़्लोट: केंद्र;
Question No# :
24
out of 50
Report Bug
Bookmark
Which property is used to set the space between the element's border and content
तत्व की सीमा और सामग्री के बीच स्थान निर्धारित करने के लिए किस गुण का उपयोग किया जाता है
A.
margin
अंतर
B.
padding
गद्दी
C.
border-spacing
सीमा-अंतराल
D.
spacing
अंतर
Question No# :
25
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# :
26
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# :
27
out of 50
Report Bug
Bookmark
Identify the incorrect media type defined in CSS 2.
CSS 2 में परिभाषित गलत मीडिया प्रकार की पहचान करें।
A.
Handheld
हैंडहेल्ड
B.
Braille
ब्रेल
C.
Arial
एरिअल
D.
Print
प्रिंट
Question No# :
28
out of 50
Report Bug
Bookmark
Which of the following CSS selectors are used to specify a group of elements
निम्नलिखित में से किस सीएसएस चयनकर्ता का उपयोग तत्वों के समूह को निर्दिष्ट करने के लिए किया जाता है
A.
tag
टैग
B.
id
पहचान
C.
class
कक्षा
D.
both class and tag
क्लास और टैग दोनों
Question No# :
29
out of 50
Report Bug
Bookmark
Which property is used to give space between content and border?
A.
margin
margin
B.
indent
indent
C.
padding
padding
D.
gap
gap
Question No# :
30
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# :
31
out of 50
Report Bug
Bookmark
which 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# :
32
out of 50
Report Bug
Bookmark
The CSS property transition is used for:
सीएसएस संपत्ति संक्रमण का उपयोग इसके लिए किया जाता है:
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# :
33
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# :
34
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# :
35
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# :
36
out of 50
Report Bug
Bookmark
If an element have padding values 20px for top, 30px bottom, 15px for right, 10px for left. Then which of the following is the correct way to set that padding?
यदि किसी element में ऊपर (top) के लिए 20px, नीचे (bottom) के लिए 30px, दाएँ (right) के लिए 15px और बाएँ (left) के लिए 10px padding दी गई है, तो निम्न में से कौन-सा तरीका उस padding को सही रूप से सेट करता है?
A.
padding: 20px 30px 15px 10px
padding: 20px 30px 15px 10px
B.
padding: 20px 15px 30px 10px
padding: 20px 15px 30px 10px
C.
padding: 15px 30px 10px 20px
padding: 15px 30px 10px 20px
D.
padding: 30px 15px 20px 10px
padding: 30px 15px 20px 10px
Question No# :
37
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# :
38
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# :
39
out of 50
Report Bug
Bookmark
____tag embeds CSS in a webpage.
_____टैग सीएसएस एक वेबपेज में CSS करता है।
A.
<html>
<html>
B.
<style>
<style>
C.
<css>
<css>
D.
<xml>
<xml>
Question No# :
40
out of 50
Report Bug
Bookmark
Which CSS property is used to set the background color of an element
किसी तत्व का पृष्ठभूमि रंग सेट करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है?
A.
background-color
पृष्ठभूमि का रंग
B.
color
रंग
C.
bgcolor
बीजी रंग
D.
background
पृष्ठभूमि
Question No# :
41
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# :
42
out of 50
Report Bug
Bookmark
The "color:black" in CSS syntax is known as
सी एस एस सिंटैक्स में "रंग: काला" को के रूप में जाना जाता है
A.
Vaiue
Vaiue
B.
Declaration
Declaration
C.
Selector
Selector
D.
Rule
Rule
Question No# :
43
out of 50
Report Bug
Bookmark
Which CSS property is used to control the spacing between lines of text
टेक्स्ट की पंक्तियों के बीच अंतर को नियंत्रित करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
line-spacing
पंक्ति रिक्ति
B.
text-spacing
टेक्स्ट-स्पेसिंग
C.
line-height
ऊंची लाईन
D.
text-height
पाठ की ऊंचाई
Question No# :
44
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# :
45
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# :
46
out of 50
Report Bug
Bookmark
The pseudoclass is activated when the user moves the mouse cursor over the specified element.
जब उपयोगकर्ता माउस कर्सर को स्पेसिफाइड एलिमेंट पर ले जाता है तो ___________ सूडोक्लास एक्टिवेट हो जाता है |
A.
mouse over
माउस ओवर
B.
mouse hover
माउस होवर
C.
hover
होवर
D.
mouse move
माउस मूव
Question No# :
47
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# :
48
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# :
49
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# :
50
out of 50
Report Bug
Bookmark
The CSS property font-style: italic; does what to the text
सीएसएस संपत्ति फ़ॉन्ट-शैली: इटैलिक; पाठ के साथ क्या करता है
A.
Makes the text bold
टेक्स्ट को बोल्ड बनाता है
B.
Applies an underline to the text
पाठ पर एक रेखांकन लागू करता है
C.
Applies an italic style to the text
टेक्स्ट पर इटैलिक शैली लागू करता है
D.
Centers the text within the container
टेक्स्ट को कंटेनर के भीतर केन्द्रित करता है
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