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 selector applies styles to all <p> elements inside a <div> element
कौन सा चयनकर्ता <div> तत्व के अंदर सभी <p> तत्वों पर शैलियाँ लागू करता है
A.
div, p
डिव, पी
B.
div + p
डिव + पी
C.
div p
डिव पी
D.
div > p
डिव > पी
Question No# :
02
out of 50
Report Bug
Bookmark
Which of the following attribute is used to provide a unique name to an element?
किसी एलिमेंट को यूनिक नाम प्रदान करने के लिए निम्नलिखित में से किस विशेषता का उपयोग किया जाता है?
A.
class
class
B.
id
id
C.
type
type
D.
None of the above
None of the above
Question No# :
03
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# :
04
out of 50
Report Bug
Bookmark
The CSS property line-height is used to control:
सीएसएस संपत्ति लाइन-ऊंचाई का उपयोग नियंत्रित करने के लिए किया जाता है:
A.
The spacing between lines of text
पाठ की पंक्तियों के बीच का अंतर
B.
The width of the line
लाइन की चौड़ाई
C.
The color of the text
पाठ का रंग
D.
The alignment of the text
पाठ का संरेखण
Question No# :
05
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# :
06
out of 50
Report Bug
Bookmark
Which selector selects elements based on a certain state ?
कौन सा चयनकर्ता एक निश्चित अवस्था के आधार पर तत्वों का चयन करता है?
A.
Combinator selector
Combinator selector
B.
Pseudo Class selector
Pseudo Class selector
C.
Pseudo elements selector
Pseudo elements selector
D.
Attribute selector
Attribute selector
Question No# :
07
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# :
08
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# :
09
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# :
10
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# :
11
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# :
12
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# :
13
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# :
14
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# :
15
out of 50
Report Bug
Bookmark
Different ways in which css one can be added to the HTML:
विभिन्न तरीकों से सीएसएस को HTML में जोड़ा जा सकता है:
A.
Inline
Inline
B.
Internal
Internal
C.
External
External
D.
All of these
All of these
Question No# :
16
out of 50
Report Bug
Bookmark
Which property is used to control the space between lines of text
टेक्स्ट की पंक्तियों के बीच के स्थान को नियंत्रित करने के लिए किस प्रॉपर्टी का उपयोग किया जाता है
A.
spacing
अंतर
B.
line-height
ऊंची लाईन
C.
text-height
पाठ-ऊंचाई
D.
text-spacing
टेक्स्ट-स्पेसिंग
Question No# :
17
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# :
18
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# :
19
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# :
20
out of 50
Report Bug
Bookmark
Which symbol indicates class selector in CSS.
CSS में कौन सा सिंबल क्लास सेलेक्टर को इंडीकेट करता है।
A.
Hash
हैश
B.
Plus
प्लस
C.
Dot
डॉट
D.
None
कोई भी नहीं
Question No# :
21
out of 50
Report Bug
Bookmark
The CSS property used to make the text bold is
टेक्स्ट को बोल्ड करने के लिए इस्तेमाल की जाने वाली CSS प्रॉपर्टी है
A.
text-decoration: bold
text-decoration: bold
B.
font-weight : bold
font-weight : bold
C.
font-style: bold
font-style: bold
D.
text-align: bold
text-align: bold
Question No# :
22
out of 50
Report Bug
Bookmark
What does the CSS property text-overflow: ellipsis; do
CSS प्रॉपर्टी text-overflow: ellipsis; का क्या अर्थ है? करना
A.
Adds a shadow to the text
पाठ में एक छाया जोड़ता है
B.
Cuts off the text and adds an ellipsis (...) if it overflows the container
यदि टेक्स्ट कंटेनर से ओवरफ्लो हो जाता है तो उसे काट देता है और एक इलिप्सिस (...) जोड़ देता है
C.
Centers the text within the container
टेक्स्ट को कंटेनर के भीतर केन्द्रित करता है
D.
Changes the font style of the text
पाठ की फ़ॉन्ट शैली बदलता है
Question No# :
23
out of 50
Report Bug
Bookmark
Which CSS property controls the text size?
CSS में किस प्रॉपर्टी के मदद से फॉण्ट साइज़ को काम ज्यादा किया जा सकता है
A.
font-size
font-size
B.
text-size
text-size
C.
font-style
font-style
D.
text-style
text-style
Question No# :
24
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# :
25
out of 50
Report Bug
Bookmark
The CSS property box-sizing: content-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# :
26
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# :
27
out of 50
Report Bug
Bookmark
The CSS pseudo-class :hover is used to select an element when
सीएसएस छद्म वर्ग :hover का उपयोग किसी तत्व का चयन करने के लिए किया जाता है
A.
It is being clicked
इसे क्लिक किया जा रहा है
B.
It is being hovered over with the mouse
इस पर माउस से मंडराया जा रहा है
C.
It is the first child of its parent
यह अपने माता-पिता की पहली संतान है
D.
It is visited
इसका दौरा किया जाता है
Question No# :
28
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# :
29
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# :
30
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# :
31
out of 50
Report Bug
Bookmark
Which of the following options is correct for the following statements: 1) Vertical margins add together 2) Horizontal margins add together
A.
Statement 1) is correct and 2) is incorrect
Statement 1) is correct and 2) is incorrect
B.
Statement 1) is incorrect and 2) is correct
Statement 1) is incorrect and 2) is correct
C.
Statement 1) and 2) are both correct
Statement 1) and 2) are both correct
D.
Statement 1) and 2) are both incorrect
Statement 1) and 2) are both incorrect
Question No# :
32
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# :
33
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# :
34
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# :
35
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# :
36
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# :
37
out of 50
Report Bug
Bookmark
Which of the following CSS selector selects the elements that are checked?
इनमें से कौन-सा CSS सेलेक्टर उन एलिमेंट्स को चुनता है जो चेक किए गए हैं?
A.
:checked
:checked
B.
E~F
E~F
C.
::after
::after
D.
None of the options
None of the options
Question No# :
38
out of 50
Report Bug
Bookmark
How to apply styles to all <span> element inside para’s having class ‘style’?
A.
p.style span
p.style span
B.
p.style.span
p.style.span
C.
p.style span*
p.style span*
D.
none of the above
none of the above
Question No# :
39
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# :
40
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
इनमे से कोई भी नहीं
Question No# :
41
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# :
42
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# :
43
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# :
44
out of 50
Report Bug
Bookmark
Which CSS attribute(s) should one use to create a pink dotted border around an image?
किसी छवि के चारों ओर गुलाबी डॉटेड बॉर्डर बनाने के लिए किस सीएसएस विशेषता (विशेषताओं) का उपयोग करना चाहिए?
A.
border-line
बॉर्डर-लाइन
B.
border-style
बॉर्डर-स्टाइल
C.
border-color
बॉर्डर-कलर
D.
Both B and C
बी और सी दोनों
Question No# :
45
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# :
46
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# :
47
out of 50
Report Bug
Bookmark
Which is not a way to add CSS to HTML file ?
HTML फ़ाइल में CSS जोड़ने का कौन सा तरीका नहीं है?
A.
Inline CSS
Inline CSS
B.
External CSS
External CSS
C.
Embedded CSS
Embedded CSS
D.
Import XML
Import XML
Question No# :
48
out of 50
Report Bug
Bookmark
Which selector has the highest specificity?
किस चयनकर्ता की विशिष्टता सबसे अधिक है?
A.
Universal Selector (*)
Universal Selector (*)
B.
Tag Selector
Tag Selector
C.
Class Selector
Class Selector
D.
ID Selector
ID Selector
Question No# :
49
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# :
50
out of 50
Report Bug
Bookmark
identity the correct statement for absolute Positioning in CSS?
CSS में अब्सोल्यूट पोजीशन के लिए सही कथन की पहचान करें?
A.
It is a browser determined positioning
यहाँ एक ब्राउज़र निर्धारित पोज़िशनिंग है
B.
It uses the position property of CSS ,Used to define absolute positioning
यहाँ अब्सोल्युट पोजिशनिंग को परिभासित करने के लिए सीएएसएस की पोजीशन प्रॉपर्टी का उपयोग करता है
C.
It gives authors greater control on how elements are displayed
यहाँ ऑथर्स को एलिमेंट को प्रदर्शित करने के तरीके पर अधिक नियंत्राण देता है
D.
none of the above statements are Correct
उपरोक्त में से कोई भी कथन सही नहीं है
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