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 overflow: auto; is used to
सीएसएस संपत्ति अतिप्रवाह: ऑटो; करने के लिए प्रयोग किया जाता है
A.
Hide the content that overflows the element's box
उस सामग्री को छुपाएं जो तत्व के बॉक्स को ओवरफ्लो करती है
B.
Add a scroll bar to the element if the content overflows
यदि सामग्री ओवरफ्लो हो जाती है तो तत्व में एक स्क्रॉल बार जोड़ें
C.
Expand the element to fit its conten
तत्व को उसकी सामग्री में फिट करने के लिए उसका विस्तार करें
D.
Remove the element from the document flow
दस्तावेज़ प्रवाह से तत्व निकालें
Question No# :
02
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# :
03
out of 50
Report Bug
Bookmark
Which property changes bullet image?
कौन सी प्रॉपर्टी बुलेट की इमेज को बदलती है?
A.
list-image
list-image
B.
bullet-image
bullet-image
C.
list-style-image
list-style-image
D.
image-style
image-style
Question No# :
04
out of 50
Report Bug
Bookmark
If the background image is of larger or smaller size than the container width, then which line of code will resize it to make fully visible?
A.
background-size: contain;
background-size: contain;
B.
background-repeat: no-repeat;
background-repeat: no-repeat;
C.
background-size: cover;
background-size: cover;
D.
none of the above
none of the above
Question No# :
05
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# :
06
out of 50
Report Bug
Bookmark
Which of the following selector selects the element that is the target of a referring URI?
निम्नलिखित में से कौन सा सेलेक्टर एलिमेंट को सेलेक्ट करता है जो एक रेफ़रिंग यूआरआई को टारगेट करता है?
A.
:target
:target
B.
:selection
:selection
C.
::selection
::selection
D.
URO
URO
Question No# :
07
out of 50
Report Bug
Bookmark
Which is not a value of the cursor property?
इनमें से कौन-सा कर्सर प्रॉपर्टी का मान (value) नहीं है?
A.
f-resize
f-resize
B.
move
move
C.
ne-resize
ne-resize
D.
se-resize
se-resize
Question No# :
08
out of 50
Report Bug
Bookmark
The CSS property transition-delay is used to:
सीएसएस संपत्ति संक्रमण-विलंब का उपयोग इसके लिए किया जाता है
A.
Set the duration of the transition effect
संक्रमण प्रभाव की अवधि निर्धारित करें
B.
Define the property being transitioned
परिवर्तित की जा रही संपत्ति को परिभाषित करें
C.
Specify the starting value of the transitioned property
परिवर्तित संपत्ति का प्रारंभिक मूल्य निर्दिष्ट करें
D.
Introduce a delay before the transition effect begins
संक्रमण प्रभाव शुरू होने से पहले विलंब का परिचय दें
Question No# :
09
out of 50
Report Bug
Bookmark
The CSS property opacity is used to
CSS प्रॉपर्टी अपारदर्शिता का उपयोग किया जाता है
A.
Adjust the width of the element
तत्व की चौड़ाई समायोजित करें
B.
Set the transparency of the element
तत्व की पारदर्शिता सेट करें तत्व की पारदर्शिता सेट करें
C.
Change the font color
फ़ॉन्ट का रंग बदलें
D.
Control the spacing between lines
लाइनों के बीच की दूरी को नियंत्रित करें
Question No# :
10
out of 50
Report Bug
Bookmark
Which selector selects elements based on a certain state
कौन सा चयनकर्ता एक निश्चित स्थिति के आधार पर तत्वों का चयन करता है
A.
Combinator selector
संयोजक चयनकर्ता
B.
Pseudo Class selector
संयोजक चयनकर्ता
C.
Pseudo elements selector
छद्म तत्व चयनकर्ता
D.
Attribute selector
गुण चयनकर्ता
Question No# :
11
out of 50
Report Bug
Bookmark
When choosing a font, there are several things to keep in mind?
फ़ॉन्ट चुनते समय किन बातों का ध्यान रखना चाहिए?
A.
Documents to be viewed on-screen tend to look better in Sans-serif fonts
Documents to be viewed on-screen tend to look better in Sans-serif fonts
B.
Not everyone has the same set of fonts.
Not everyone has the same set of fonts.
C.
Printed documents tend to look better in Serif fonts
Printed documents tend to look better in Serif fonts
D.
All of the options
All of the options
Question No# :
12
out of 50
Report Bug
Bookmark
How do you add a background color for all <h1> elements?
आप सभी <h1> तत्वों के लिए पृष्ठभूमि रंग कैसे जोड़ते हैं?
A.
h1.all {background-color:red;}
h1.all {background-color:red;}
B.
h1 {background-color:red;}
h1 {background-color:red;}
C.
all.h1 {background-colorred;}
all.h1 {background-colorred;}
D.
.h1{background-color:red}
.h1{background-color:red}
Question No# :
13
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# :
14
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# :
15
out of 50
Report Bug
Bookmark
which SS property helps one to decide whether the text should be clipped, show some dots (ellipsis), or display a custom string ?
कौन सी एसएस प्रॉपटी यह तय करने में मदद करती है कि टेक्स्ट को क्लिप किया जाना चाहिए, कुछ दिखाएं डॉट्स (इलिप्सिस), या एक कस्टम स्ट्रिंग प्रदर्शित करते हैं?
A.
Text-decoration
Text-decoration
B.
Text-stroke
Text-stroke
C.
Text-shadow
Text-shadow
D.
Text-overflow
Text-overflow
Question No# :
16
out of 50
Report Bug
Bookmark
Which selector selects all elements(tags)?
कौन सा सेलेक्टर सभी तत्वों (टैग ) का चयन करता है?
A.
Class Selector
Class Selector
B.
Tag Selector
Tag Selector
C.
ID Selector
ID Selector
D.
Universal Selector
Universal Selector
Question No# :
17
out of 50
Report Bug
Bookmark
Which selector is used to specify a group of elements?
A.
id
id
B.
class
class
C.
tag
tag
D.
both b) and c)
both b) and c)
Question No# :
18
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# :
19
out of 50
Report Bug
Bookmark
If an element have margin values 20px for top, 20px for bottom, 30px for right, 30px for left. Then which of the following is the correct way to set the margin?
A.
margin: 20px 20px 30px 30px
margin: 20px 20px 30px 30px
B.
margin: 30px 20px
margin: 30px 20px
C.
margin: 20px 30px
margin: 20px 30px
D.
margin: 30px 30px 20px 20px
margin: 30px 30px 20px 20px
Question No# :
20
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# :
21
out of 50
Report Bug
Bookmark
Are the negative values allowed in padding property?
क्या पैडिंग प्रॉपर्टी में निगेटिव वैल्यूज की अनुमति है?
A.
Yes
हाँ
B.
No
नहीं
C.
Cannot say
नहीं कह सकते
D.
May be
हो सकता है
Question No# :
22
out of 50
Report Bug
Bookmark
Styles that are placed within style tag are called as:
स्टाइल टैग के भीतर रखी जाने वाली शैलियाँ कहलाती हैं:
A.
External styles
बाहरी शैलियाँ
B.
Inline styles
इनलाइन शैलियाँ
C.
Embedded styles
एंबेडेड शैलियाँ
D.
Html styles
एचटीएमएल शैलियाँ
Question No# :
23
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# :
24
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# :
25
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# :
26
out of 50
Report Bug
Bookmark
How can you select all direct child elements of a specific parent in CSS
आप सीएसएस में किसी विशिष्ट माता-पिता के सभी प्रत्यक्ष बाल तत्वों का चयन कैसे कर सकते हैं
A.
parent > child
अभिभावक > बच्चा
B.
parent child
अभिभावक बच्चा
C.
parent .child
अभिभावक .बच्चा
D.
parent + child
माता-पिता + बच्चा
Question No# :
27
out of 50
Report Bug
Bookmark
The CSS property background-size: cover; is used to:
सीएसएस संपत्ति पृष्ठभूमि-आकार: कवर; करने के लिए प्रयोग किया जाता है:
A.
Stretch the background image to cover the entire element
पूरे तत्व को कवर करने के लिए पृष्ठभूमि छवि को फैलाएँ
B.
Tile the background image horizontally and vertically
पृष्ठभूमि छवि को क्षैतिज और लंबवत रूप से टाइल करें
C.
Repeat the background image in one direction
पृष्ठभूमि छवि को एक दिशा में दोहराएं
D.
Resize the background image to fit the content
सामग्री को फिट करने के लिए पृष्ठभूमि छवि का आकार बदलें
Question No# :
28
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# :
29
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# :
30
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# :
31
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# :
32
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# :
33
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# :
34
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# :
35
out of 50
Report Bug
Bookmark
The CSS property column-count is used for
CSS प्रॉपर्टी column-count का उपयोग किसके लिए किया जाता है
A.
Setting the number of columns an element should be divided into
किसी तत्व को विभाजित किए जाने वाले स्तंभों की संख्या निर्धारित करना
B.
Controlling the spacing between columns
स्तंभों के बीच की दूरी को नियंत्रित करना
C.
Changing the font style of text in columns
कॉलम में टेक्स्ट की फ़ॉन्ट शैली बदलना
D.
Applying a border around columns
स्तंभों के चारों ओर बॉर्डर लगाना
Question No# :
36
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# :
37
out of 50
Report Bug
Bookmark
Which selector applies styles to all <p> elements inside a <div> with the class .content
कौन सा चयनकर्ता .content वर्ग के साथ <div> के अंदर सभी <p> तत्वों पर शैलियाँ लागू करता है
A.
content p
content p
B.
p.content
p.content
C.
.content > p
.content > p
D.
p .content
p .content
Question No# :
38
out of 50
Report Bug
Bookmark
By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code?
A.
a { underline:none; }
a { underline:none; }
B.
a { text-decoration:no-underline; }
a { text-decoration:no-underline; }
C.
a { decoration:no-underline; }
a { decoration:no-underline; }
D.
a { text-decoration:none; }
a { text-decoration:none; }
Question No# :
39
out of 50
Report Bug
Bookmark
Which CSS property sets a background image for an element
कौन सी सीएसएस प्रॉपर्टी किसी तत्व के लिए पृष्ठभूमि छवि सेट करती है
A.
background-color
पृष्ठभूमि का रंग
B.
background
पृष्ठभूमि
C.
background-image
पृष्ठभूमि छवि
D.
both b and c
बी और सी दोनों
Question No# :
40
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# :
41
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# :
42
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# :
43
out of 50
Report Bug
Bookmark
Which property is used in CSS to change the background color?
CSS में बैकग्राउंड का रंग बदलने के लिए किस प्रॉपर्टी का उपयोग किया जाता है?
A.
bgcolor
बीजी कलर
B.
background-color
बैकग्राउंड कलर
C.
color
कलर
D.
back-color
बैक-कलर
Question No# :
44
out of 50
Report Bug
Bookmark
How to add shadow to text in css?
सीएसएस में टेक्स्ट में छाया कैसे जोड़ें?
A.
content shadow
content shadow
B.
text-shadow
text-shadow
C.
word-shadow
word-shadow
D.
text outline
text outline
Question No# :
45
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.होवर
B.
h1 : hover
h1: होवर
C.
h1-hover
h1-होवर
D.
h1+hover
h1+होवर
Question No# :
46
out of 50
Report Bug
Bookmark
Which property prevents elements from overlapping a floated element
कौन सा गुण तत्वों को फ़्लोट किए गए तत्व को ओवरलैप करने से रोकता है
A.
clear
clear
B.
overflow
overflow
C.
z-index
z-index
D.
display
display
Question No# :
47
out of 50
Report Bug
Bookmark
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
कौन सा एट्रिब्यूट किसी एलिमेंट से जुड़े यूनिक अल्फ़ान्यूमेरिक पहचानकर्ता को निर्देशित करता है
A.
class
class
B.
id
id
C.
article
article
D.
html
html
Question No# :
48
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# :
49
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# :
50
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;
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