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
The CSS property transform is commonly used for
सीएसएस प्रॉपर्टी ट्रांसफॉर्म का आमतौर पर उपयोग किया जाता है
A.
Changing the background color of an element
किसी तत्व की पृष्ठभूमि का रंग बदलना
B.
Applying 3D transformations to an element
किसी तत्व पर 3D परिवर्तन लागू करना
C.
Setting the font size
फ़ॉन्ट आकार सेट करना
D.
Adjusting the spacing between lines of text
पाठ की पंक्तियों के बीच अंतर को समायोजित करना
Question No# :
02
out of 50
Report Bug
Bookmark
Which of the following property is used to make the text bold is CSS?
निम्नलिखित में से किस गुण का उपयोग टेक्स्ट को बोल्ड करने के लिए किया जाता है?
A.
font-weight:bold;
font-weight:bold;
B.
text-decoration:bold;
text-decoration:bold;
C.
text:bold;
text:bold;
D.
font:bold;
font:bold;
Question No# :
03
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# :
04
out of 50
Report Bug
Bookmark
Which is not true about CSS ?
CSS के बारे में कौन सा कथन सही नहीं है ?
A.
CSS is Cascading Style Sheet
CSS is Cascading Style Sheet
B.
Separate content from presentation
Separate content from presentation
C.
stablish visual layout of a Webpage
stablish visual layout of a Webpage
D.
Markup the content of the webpage
Markup the content of the webpage
Question No# :
05
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# :
06
out of 50
Report Bug
Bookmark
How can you select all elements of a specific class in CSS
आप CSS में किसी विशिष्ट वर्ग के सभी तत्वों का चयन कैसे कर सकते हैं
A.
#classname
#classname
B.
.classname
.classname
C.
element.classname
element.classname
D.
*classname
*classname
Question No# :
07
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# :
08
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# :
09
out of 50
Report Bug
Bookmark
The CSS property flex-grow is used to
CSS प्रॉपर्टी flex-grow का उपयोग किया जाता है
A.
Specify the initial size of a flex item
किसी फ्लेक्स आइटम का प्रारंभिक आकार निर्दिष्ट करें
B.
Define the order of a flex item
फ्लेक्स आइटम के क्रम को परिभाषित करें
C.
Control how much a flex item can shrink relative to the other flex items
नियंत्रित करें कि एक फ्लेक्स आइटम अन्य फ्लेक्स आइटम के सापेक्ष कितना सिकुड़ सकता है
D.
Control how much a flex item can grow relative to the other flex items
नियंत्रित करें कि एक फ्लेक्स आइटम अन्य फ्लेक्स आइटम के सापेक्ष कितना बढ़ सकता
Question No# :
10
out of 50
Report Bug
Bookmark
How can you set the font size of text in CSS?
आप सीएसएस में टेक्स्ट का फ़ॉन्ट आकार कैसे सेट कर सकते हैं?
A.
Size
Size
B.
text-size
text-size
C.
font-size
font-size
D.
font-dimension
font-dimension
Question No# :
11
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# :
12
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# :
13
out of 50
Report Bug
Bookmark
Which of the following property is used to change the background color
पृष्ठभूमि का रंग बदलने के लिए निम्नलिखित में से किस गुण का उपयोग किया जाता है
A.
color
color
B.
background-color
background-color
C.
bgcolor
bgcolor
D.
bg-color
bg-color
Question No# :
14
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# :
15
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# :
16
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# :
17
out of 50
Report Bug
Bookmark
____________ is used to add special effects to a website, such as animation, or hover effects.
____________ का यूज़ किसी वेबसाइट पर विशेष इफ़ेक्ट ऐड करने के लिए किया जाता है, जैसे एनीमेशन, या होवर इफ़ेक्ट।
A.
CSS
सीएसएस
B.
PHP
पीएचपी
C.
Javascript
जावास्क्रिप्ट
D.
HTML
एचटीएमएल
Question No# :
18
out of 50
Report Bug
Bookmark
The currentColor value in CSS is used for:
सीएसएस में वर्तमान रंग मान का उपयोग इसके लिए किया जाता है:
A.
Setting the current date and time
वर्तमान दिनांक और समय निर्धारित करना
B.
Matching the color value of the element's text
तत्व के पाठ के रंग मान का मिलान
C.
Adjusting the transparency of an element
किसी तत्व की पारदर्शिता को समायोजित करना
D.
Changing the font family of an element
किसी तत्व का फ़ॉन्ट परिवार बदलना
Question No# :
19
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# :
20
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# :
21
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# :
22
out of 50
Report Bug
Bookmark
Which of the following does not count in the total width of the element in the web page?
A.
border
border
B.
margin
margin
C.
padding
padding
D.
none of the above
none of the above
Question No# :
23
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# :
24
out of 50
Report Bug
Bookmark
Which selector applies the same style to h1, h2 and h3?
कौन सा सेलेक्टर h1, h2 और h3 पर एक ही स्टाइल लागू करता है?
A.
h1 h2 h3
h1 h2 h3
B.
h1+h2+h3
h1+h2+h3
C.
h1,h2,h3
h1,h2,h3
D.
h1>h2>h3
h1>h2>h3
Question No# :
25
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# :
26
out of 50
Report Bug
Bookmark
Which selector targets all input elements having a required attribute?
कौन सा चयनकर्ता उन सभी इनपुट तत्वों को लक्षित करता है जिनमें एक आवश्यक विशेषता होती है?
A.
input.required
input.required
B.
input[required]
input[required]
C.
input(required)
input(required)
D.
input::required
input::required
Question No# :
27
out of 50
Report Bug
Bookmark
What does the general sibling selector (~) do
जनरल सिबलिंग सिलेक्टर (~) क्या करता है
A.
Selects all elements
सभी तत्वों का चयन करता है
B.
Selects all siblings after a specified element
एक निर्दिष्ट तत्व के बाद सभी भाई-बहनों का चयन करता है
C.
Selects only the first sibling of a specified element
निर्दिष्ट तत्व के केवल पहले सहोदर का चयन करता है
D.
Selects only the last sibling of a specified element
निर्दिष्ट तत्व के केवल अंतिम सहोदर का चयन करता है
Question No# :
28
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# :
29
out of 50
Report Bug
Bookmark
Which of the following is not used with text-decoration property?
A.
overline
overline
B.
underline
underline
C.
line-through
line-through
D.
inline
inline
Question No# :
30
out of 50
Report Bug
Bookmark
Which selector applies styles to all elements?
कौन-सा सेलेक्टर सभी एलिमेंट्स पर स्टाइल लागू करता है?
A.
ID selector
ID selector
B.
Class selector
Class selector
C.
Group selector
Group selector
D.
Universal selector
Universal selector
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
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# :
33
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# :
34
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# :
35
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# :
36
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# :
37
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# :
38
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# :
39
out of 50
Report Bug
Bookmark
Which of the following ways are valid to specify white color using CSS ?
सीएसएस का उपयोग करके सफेद रंग निर्दिष्ट करने के लिए निम्नलिखित में से कौन से तरीके मान्य हैं?
A.
#FFFFFF
#FFFFFF
B.
rgb (255, 255, 255)
rgb (255, 255, 255)
C.
rgb (FF,FF, FF)
rgb (FF,FF, FF)
D.
Both A and B
Both A and B
Question No# :
40
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
Question No# :
41
out of 50
Report Bug
Bookmark
To zoom an image on a mouse hover
माउस होवर पर किसी छवि को ज़ूम करने के लिए
A.
Transition
Transition
B.
Transform
Transform
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
42
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# :
43
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# :
44
out of 50
Report Bug
Bookmark
Which HTML tag is used to declare internal CSS?
A.
<style>
<style>
B.
<link>
<link>
C.
<script>
<script>
D.
None of these
None of these
Question No# :
45
out of 50
Report Bug
Bookmark
Which of the following selector selects the elements that are currently enabled?
निम्नलिखित में से कौन सा चयनकर्ता उन एलिमेंट का चयन करता है जो वर्तमान में एक्टिव हैं?
A.
:element
:element
B.
:empty
:empty
C.
:enabled
:enabled
D.
None of these
इनमें से कोई नहीं
Question No# :
46
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# :
47
out of 50
Report Bug
Bookmark
The CSS property box-sizing: border-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# :
48
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# :
49
out of 50
Report Bug
Bookmark
Question: What does the CSS property pointer-events: none; do?
सीएसएस प्रॉपर्टी पॉइंटर-इवेंट्स: कोई नहीं; करना?
A.
Disables pointer events for the element
तत्व के लिए सूचक घटनाओं को अक्षम करता है
B.
Enables pointer events for the element
तत्व के लिए सूचक घटनाओं को सक्षम करता है
C.
Adds a pointer to the element
तत्व में एक सूचक जोड़ता है
D.
Changes the color of the pointer
पॉइंटर का रंग बदलता है
Question No# :
50
out of 50
Report Bug
Bookmark
What does CSS stands for?
CSS का क्या मतलब है?
A.
Creating Style Sheets
Creating Style Sheets
B.
Cascading Style Sheets
Cascading Style Sheets
C.
Computer Style Sheets
Computer Style Sheets
D.
Colorful Style Sheets
Colorful Style Sheets
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