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
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
उपरोक्त में से कोई भी कथन सही नहीं है
Question No# :
02
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# :
03
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# :
04
out of 50
Report Bug
Bookmark
How do you apply inline CSS to an HTML element
आप किसी HTML तत्व पर इनलाइन CSS कैसे लागू करते हैं
A.
<style> tag
<शैली> टैग
B.
style attribute
शैली विशेषता
C.
class attribute
वर्ग विशेषता
D.
External stylesheet
बाहरी स्टाइलशीट
Question No# :
05
out of 50
Report Bug
Bookmark
The CSS property text-decoration: line-through; is used to
सीएसएस संपत्ति टेक्स्ट-डेकोरेशन: लाइन-थ्रू; करने के लिए प्रयोग किया जाता है
A.
Apply an underline to the text
पाठ पर एक रेखांकन लागू करें
B.
Remove the underline from a link
किसी लिंक से अंडरलाइन हटा दें
C.
Apply a line-through effect to the text
टेक्स्ट पर लाइन-थ्रू प्रभाव लागू करें
D.
Change the font style of the text
टेक्स्ट की फ़ॉन्ट शैली बदलें
Question No# :
06
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# :
07
out of 50
Report Bug
Bookmark
The CSS property max-width is used to:
CSS प्रॉपर्टी max-width का उपयोग इसके लिए किया जाता है:
A.
Set the maximum height of an element
किसी तत्व की अधिकतम ऊंचाई निर्धारित करें
B.
Set the maximum width of an element
किसी तत्व की अधिकतम चौड़ाई निर्धारित करें
C.
Set the minimum width of an element
किसी तत्व की न्यूनतम चौड़ाई निर्धारित करें
D.
Change the font size
फ़ॉन्ट आकार बदलें
Question No# :
08
out of 50
Report Bug
Bookmark
What type of CSS is the following code snippet? <h1 style="color:blue;">A Blue Heading</h1>
What type of CSS is the following code snippet? <h1 style="color:blue;">A Blue Heading</h1>
A.
External CSS
External CSS
B.
Internal CSS
Internal CSS
C.
Inline CSS
Inline CSS
D.
None of these
None of these
Question No# :
09
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# :
10
out of 50
Report Bug
Bookmark
Which of the following selectors select any tag with an id attribute set ?
निम्नलिखित में से कौन सा सिलेक्टर आईडी एट्रीब्यूट के साथ किसी भी टैग को सेलेक्ट करता है?
A.
E#id
E#id
B.
.class
.class
C.
#id
#id
D.
*
*
Question No# :
11
out of 50
Report Bug
Bookmark
Which selector is used to target all elements on a webpage
वेबपेज पर सभी तत्वों को लक्षित करने के लिए किस चयनकर्ता का उपयोग किया जाता है
A.
#
#
B.
*
*
C.
.
.
D.
!
!
Question No# :
12
out of 50
Report Bug
Bookmark
What is the correct way to set background color as blue
पृष्ठभूमि का रंग नीला करने का सही तरीका क्या है
A.
background:blue;
background:blue;
B.
background-color:rgb(0,0,255);
background-color:rgb(0,0,255);
C.
background:#0000FF;
background:#0000FF;
D.
All of the above
ऊपर के सभी
Question No# :
13
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# :
14
out of 50
Report Bug
Bookmark
Which selector targets only <li> elements that are directly under an <ul>?
कौन सा चयनकर्ता केवल <li> तत्वों को लक्षित करता है जो सीधे <ul> के अंतर्गत हैं
A.
ul > li
ul > li
B.
ul li
ul li
C.
ul + li
ul + li
D.
ul ~ li
ul ~ li
Question No# :
15
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# :
16
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# :
17
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# :
18
out of 50
Report Bug
Bookmark
Which CSS pseudo-element is used to select the first line of a block
किसी ब्लॉक की पहली पंक्ति का चयन करने के लिए किस CSS छद्म तत्व का उपयोग किया जाता है
A.
:first-line
:पहली पंक्ति
B.
:line-first
::पंक्ति-प्रथम
C.
:first-letter
:प्रथम पत्र
D.
:line-start
:लाइन-स्टार्ट
Question No# :
19
out of 50
Report Bug
Bookmark
What is the correct syntax for a keyframe in CSS
CSS में कीफ़्रेम के लिए सही सिंटैक्स क्या है
A.
@frames
@फ़्रेम
B.
@keyframe
@कीफ़्रेम
C.
@keyframes
@कीफ़्रेम्स
D.
@animation-frames
@एनिमेशन-फ़्रेम
Question No# :
20
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# :
21
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# :
22
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# :
23
out of 50
Report Bug
Bookmark
Which pseudo-class targets an input field while it is being typed in
कौन सा छद्म वर्ग किसी इनपुट फ़ील्ड को टाइप करते समय लक्षित करता है
A.
focus
focus
B.
hover
hover
C.
active
active
D.
checked
checked
Question No# :
24
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# :
25
out of 50
Report Bug
Bookmark
Which CSS property is used to control the space between the borders of adjacent cells in a table
किसी तालिका में आसन्न कोशिकाओं की सीमाओं के बीच के स्थान को नियंत्रित करने के लिए किस CSS संपत्ति का उपयोग किया जाता है
A.
cell-spacing
कोशिका-अंतराल
B.
table-spacing
टेबल-स्पेसिंग
C.
border-spacing
सीमा-अंतराल
D.
cell-padding
सेल-पैडिंग
Question No# :
26
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# :
27
out of 50
Report Bug
Bookmark
What is not true about External Style sheet
एक्सटर्नल स्टाइल शीट के बारे में क्या सत्य नहीं है
A.
It is a separate document that contains CSS rules
यह एक अलग दस्तावेज़ है जिसमें सीएसएस नियम शामिल हैं
B.
It separates content from the presentation but both are still contained in a single file
यह प्रस्तुतिकरण से सामग्री को अलग करता है लेकिन दोनों अभी भी एक ही फ़ाइल में समाहित हैं
C.
It separates the content and style into separate files
यह सामग्री और शैली को अलग-अलग फ़ाइलों में अलग करता है
D.
. It allows a web designer and a content author to work in parallel
यह एक वेब डिज़ाइनर और एक सामग्री लेखक को समानांतर में काम करने की अनुमति देता है
Question No# :
28
out of 50
Report Bug
Bookmark
Which CSS property is used to control the space between letters in a text
किसी टेक्स्ट में अक्षरों के बीच के स्थान को नियंत्रित करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
letter-spacing
पत्र अंतराल
B.
word-spacing
शब्द-अंतराल
C.
text-spacing
टेक्स्ट-स्पेसिंग
D.
line-spacing
पंक्ति रिक्ति
Question No# :
29
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# :
30
out of 50
Report Bug
Bookmark
How do you target the last child of a parent element
आप मूल तत्व के अंतिम बच्चे को कैसे लक्षित करते हैं
A.
:nth-child(last)
:nth-child(last)
B.
:last-child
:last-child
C.
:only-child
:only-child
D.
:nth-last-child(1)
:nth-last-child(1)
Question No# :
31
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# :
32
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# :
33
out of 50
Report Bug
Bookmark
Where in an HTML document is the correct place to refer to an external style sheet?
एक एक्सटरनल स्टाइल शीट को संदर्भित करने के लिए HTML दस्तावेज़ में सही जगह कहाँ है?
A.
In the <body> section
In the <body> section
B.
At the end of the document
At the end of the document
C.
In the <head> section
In the <head> section
D.
Any Where in a Page
Any Where in a Page
Question No# :
34
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# :
35
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# :
36
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# :
37
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# :
38
out of 50
Report Bug
Bookmark
Which CSS property is used to control the space between letters in a text
किसी टेक्स्ट में अक्षरों के बीच के स्थान को नियंत्रित करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
letter-spacing
पत्र अंतराल
B.
word-spacing
शब्द-अंतराल
C.
text-spacing
टेक्स्ट-स्पेसिंग
D.
line-spacing
पंक्ति रिक्ति
Question No# :
39
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# :
40
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# :
41
out of 50
Report Bug
Bookmark
What does the CSS property overflow: scroll; do
सीएसएस संपत्ति अतिप्रवाह क्या करती है: स्क्रॉल; करना
A.
Hides the content that overflows the element's box
उस सामग्री को छुपाता है जो तत्व के बॉक्स को ओवरफ़्लो करती है
B.
Adds a scroll bar to the element if the content overflows
यदि सामग्री ओवरफ्लो हो जाती है तो तत्व में एक स्क्रॉल बार जोड़ता है
C.
Expands the element to fit its content
तत्व को उसकी सामग्री के अनुरूप विस्तारित करता है
D.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
Question No# :
42
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# :
43
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# :
44
out of 50
Report Bug
Bookmark
How do you make each word in a text start with a capital letter?
आप किसी पैराग्राफ में प्रत्येक शब्द के पहले अक्षर को बड़े से शुरू करने के लिए क्या करेंगे
A.
You can't do that with CSS
You can't do that with CSS
B.
transform:capitalize
transform:capitalize
C.
text-style:capitalize
text-style:capitalize
D.
text-transform:capitalize
text-transform:capitalize
Question No# :
45
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# :
46
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# :
47
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# :
48
out of 50
Report Bug
Bookmark
What does CSS stand for
सीएसएस का मतलब क्या है
A.
Computer Style Sheets
कंप्यूटर स्टाइल शीट
B.
Creative Style Sheets
क्रिएटिव स्टाइल शीट्स
C.
. Cascading Style Sheets
व्यापक शैली पत्रक
D.
Colorful Style Sheets
रंगीन स्टाइल शीट
Question No# :
49
out of 50
Report Bug
Bookmark
The CSS property pointer-events: auto; does what to an element
सीएसएस संपत्ति सूचक-घटनाएँ: ऑटो; किसी तत्व के लिए क्या करता है
A.
Enables pointer events for the element
तत्व के लिए सूचक घटनाओं को सक्षम करता है
B.
Disables pointer events for the element
तत्व के लिए सूचक घटनाओं को अक्षम करता है
C.
Adds a shadow to the element
तत्व में एक छाया शामिल है
D.
Changes the font size of the element
तत्व का फ़ॉन्ट आकार बदलता है
Question No# :
50
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
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