O Level Exam : Student Portal
Email address
Password
Remember me
Forgot password?
Sign In
Google
Facebook
Don't have an account?
Register now
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
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 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# :
02
out of 50
Report Bug
Bookmark
Which property will be used to display an image of at least 100px width?
A.
max-height
max-height
B.
max-width
max-width
C.
min-height
min-height
D.
min-width
min-width
Question No# :
03
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# :
04
out of 50
Report Bug
Bookmark
The CSS property border-radius: 10px; is used for:
सीएसएस संपत्ति सीमा-त्रिज्या: 10px; के लिए प्रयोग किया जाता है:
A.
Adding a shadow to the border of an element
किसी तत्व की सीमा पर छाया जोड़ना
B.
Creating rounded corners for an element
किसी तत्व के लिए गोल कोने बनाना
C.
Applying a border to the text
टेक्स्ट पर बॉर्डर लगाना
D.
Changing the width of the border
बॉर्डर की चौड़ाई बदलना
Question No# :
05
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# :
06
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# :
07
out of 50
Report Bug
Bookmark
The CSS property text-decoration: underline; is used to
सीएसएस संपत्ति टेक्स्ट-सजावट: रेखांकित; करने के लिए प्रयोग किया जाता है
A.
Add a background color to the text
टेक्स्ट में पृष्ठभूमि रंग जोड़ें
B.
Apply an underline to the text
पाठ पर एक रेखांकन लागू करें
C.
Change the font style
फ़ॉन्ट शैली बदलें
D.
Make the text bold
टेक्स्ट को बोल्ड बनाएं
Question No# :
08
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# :
09
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# :
10
out of 50
Report Bug
Bookmark
Function that allow calculation in CSS?
वह फ़ंक्शन जो सीएसएस में गणना की अनुमति देता है?
A.
sum()
sum()
B.
eval()
eval()
C.
calc()
calc()
D.
total()
total()
Question No# :
11
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# :
12
out of 50
Report Bug
Bookmark
CSS is a______________language.
CSS एक______लैंगुएज है।
A.
Structural
स्ट्रक्चरल
B.
Presentational
प्रस्तुतिकरण
C.
Markup
मार्कअप
D.
Behavioral
बिहेवियरल
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
How do you select all <p> elements that are children of <div> elements
आप उन सभी <p> तत्वों का चयन कैसे करते हैं जो <div> तत्वों के बच्चे हैं
A.
div > p
डिव > पी
B.
div + p
डिव + पी
C.
div p
डिव पी
D.
div, p
डिव, पी
Question No# :
15
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# :
16
out of 50
Report Bug
Bookmark
How do you select an element with the class name "example" in CSS
सीएसएस मेंआप "example" नाम के क्लास के एलिमेंट का चयन कैसे करेंगे
A.
.example
.example
B.
#example
#example
C.
element.example
element.example
D.
example
example
Question No# :
17
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# :
18
out of 50
Report Bug
Bookmark
Which symbol indicates class selector in CSS.
CSS में कौन सा सिंबल क्लास सेलेक्टर को इंडीकेट करता है।
A.
Hash
हैश
B.
Plus
प्लस
C.
Dot
डॉट
D.
None
कोई भी नहीं
Question No# :
19
out of 50
Report Bug
Bookmark
Which of the following selector selects the elements that are checked?
निम्नलिखित में से कौन सा चयनकर्ता चेक किए गए तत्वों का चयन करता है?
A.
E ~ F
E ~ F
B.
::after
::after
C.
:checked
:checked
D.
None of these
इनमें से कोई नहीं
Question No# :
20
out of 50
Report Bug
Bookmark
Which of the following selector selects an element if it’s the only child of its parent?
A.
:root
:root
B.
:nth-oftype(n)
:nth-oftype(n)
C.
:only-child
:only-child
D.
None of these
इनमें से कोई नहीं
Question No# :
21
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# :
22
out of 50
Report Bug
Bookmark
How do you group multiple selectors?
आप अनेक चयनकर्ताओं का समूह कैसे बनाते हैं?
A.
Separate each selector with a plus sign
Separate each selector with a plus sign
B.
Separate each selector with a space
Separate each selector with a space
C.
Separate each selector with a comma
Separate each selector with a comma
D.
Seperate each selector with a star
Seperate each selector with a star
Question No# :
23
out of 50
Report Bug
Bookmark
which is the correct format to set the border width for (top=10px,bottom=5px,left=20px and right=1px)
शीर्ष (top) = 10px, नीचे (bottom) = 5px, बाएं (left) = 20px और दाएं (right) = 1px के लिए बॉर्डर चौड़ाई सेट करने के लिए सही फॉर्मेट निम्नलिखित होगा:
A.
border-width:10px 1px 5px 20px;
border-width:10px 1px 5px 20px;
B.
border-width:5px 20px 10px 1px;
border-width:5px 20px 10px 1px;
C.
border-width:10px 20px 5px 1px;
border-width:10px 20px 5px 1px;
D.
border-width:10px 5px 20px 1px;
border-width:10px 5px 20px 1px;
Question No# :
24
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# :
25
out of 50
Report Bug
Bookmark
Which of the following will give blue color to text?
निम्नलिखित में से कौन टेक्स्ट को नीला रंग देगा?
A.
color: hsl(255, 0, 0);
color: hsl(255, 0, 0);
B.
color: hsl(0, 255, 0);
color: hsl(0, 255, 0);
C.
color: rgba(0, 0, 255, 1);
color: rgba(0, 0, 255, 1);
D.
color: rgba(0, 0, 255, 0);
color: rgba(0, 0, 255, 0);
Question No# :
26
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# :
27
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# :
28
out of 50
Report Bug
Bookmark
The CSS property outline is used for:
CSS संपत्ति रूपरेखा का उपयोग इसके लिए किया जाता है:
A.
Adding a shadow to the element
तत्व में छाया जोड़ना
B.
Highlighting the border of an element
किसी तत्व की सीमा को हाइलाइट करना
C.
Changing the font size
फ़ॉन्ट का आकार बदलना
D.
Controlling the spacing between lines of text
पाठ की पंक्तियों के बीच अंतर को नियंत्रित करना
Question No# :
29
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# :
30
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# :
31
out of 50
Report Bug
Bookmark
Which is the correct CSS syntax written inside the style tag?
A.
body { font-size: 20px; }
body { font-size: 20px; }
B.
body { font-size= 20px };
body { font-size= 20px };
C.
body:{ font-size: 20px; }
body:{ font-size: 20px; }
D.
body:{ font-size= 20px; }
body:{ font-size= 20px; }
Question No# :
32
out of 50
Report Bug
Bookmark
Which attribute can be added to many HTML / XHTML elements to identify them as a member of a specific group ?
किसी विशिष्ट ग्रुप के मेम्बर के रूप में उनकी पहचान करने के लिए कई एचटीएमएल एलिमेंटो में कौन सा एट्रीब्यूट जोड़ा जा सकता है ?
A.
ID
ID
B.
div
div
C.
class
class
D.
span
span
Question No# :
33
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# :
34
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# :
35
out of 50
Report Bug
Bookmark
The CSS property text-overflow: ellipsis; is used when:
सीएसएस संपत्ति text-overflow: ellipsis; प्रयोग तब किया जाता है जब
A.
The text should be vertically centered
पाठ लंबवत केन्द्रित होना चाहिए
B.
The text should be aligned to the right
पाठ को दाईं ओर संरेखित किया जाना चाहिए
C.
The text is too long to fit in the container
टेक्स्ट कंटेनर में फिट होने के लिए बहुत लंबा है
D.
The text color should be changed
टेक्स्ट का रंग बदला जाना चाहिए
Question No# :
36
out of 50
Report Bug
Bookmark
How do you apply a background image to an element in CSS?
आप सीएसएस में किसी तत्व पर पृष्ठभूमि छवि कैसे लागू करते हैं?
A.
image: url('background.jpg');
छवि: यूआरएल('बैकग्राउंड.जेपीजी');
B.
background-image: url('background.jpg');
पृष्ठभूमि-छवि: यूआरएल ('पृष्ठभूमि.jpg');
C.
img: url('background.jpg');
img: url('background.jpg');
D.
background: url('background.jpg');
पृष्ठभूमि: url('background.jpg');
Question No# :
37
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# :
38
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# :
39
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# :
40
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# :
41
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# :
42
out of 50
Report Bug
Bookmark
What are the two segments of a style tag?
स्टाइल टैग के दो खंड कौन से हैं?
A.
Selector and property
चयनकर्ता और संपत्ति
B.
Name and content
नाम और सामग्री
C.
Head section and body section
हेड सेक्शन और बॉडी सेक्शन
D.
None
कोई भी नहीं
Question No# :
43
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# :
44
out of 50
Report Bug
Bookmark
What is true about Conflicting Styles?
कॉनफ़्लिक्टिंग स्टाइल के बारे में क्या सच है?
A.
Conflict occurs as styles can be defined by a user, an author or a user agent (e.g a web browser)
कॉनफ़्लिक्ट तब होता है जब स्टाइल को एक उपयोगकर्त, एक लेखक या एक उपयोगकर्त एजेंट (जैसे, एक वेब ब्राउज़र ) द्वारा परिभाषित किया जा सकता है
B.
Styles "cascade," or flow together
स्टाइल "कैस्केड ",या एक साथ फ्लो होती है
C.
Ultimate appearance of elements depends on a combination of styles defined in several ways
एलिमेंट का अंतिम स्वरुप कई तरीको से परिभाषित स्टाइल पर पुर्वरता लेती है
D.
Styles defined by the user agent take precedence over styles defined by the user
यूजर एजेंट द्वारा परिभाषित स्टाइल यूजर द्वारा परिभाषित स्टाइल पर पूर्वता लेती है
Question No# :
45
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# :
46
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# :
47
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# :
48
out of 50
Report Bug
Bookmark
What is the correct way to link an external CSS file to an HTML document
किसी बाहरी CSS फ़ाइल को HTML दस्तावेज़ से लिंक करने का सही तरीका क्या है
A.
<style src="style.css">
<स्टाइल src='style.css'>
B.
<link rel="stylesheet" href="style.css">
<लिंक rel='स्टाइलशीट' href='style.css'>
C.
. <css link="style.css">
. <सीएसएस लिंक='स्टाइल.सीएसएस'>
D.
<script src="style.css">
<स्क्रिप्ट src='style.css'>
Question No# :
49
out of 50
Report Bug
Bookmark
Which is the correct CSS syntax?
सही CSS सिंटैक्स कौन सा है?
A.
{body;color:black;}
{body;color:black;}
B.
{body:color=black;}
{body:color=black;}
C.
body {color: black;}
body {color: black;}
D.
body:color=black;
body:color=black;
Question No# :
50
out of 50
Report Bug
Bookmark
What is the purpose of the CSS property flex-direction
सीएसएस प्रॉपर्टी फ्लेक्स-डायरेक्शन का उद्देश्य क्या है
A.
Sets the direction of the text within the element
तत्व के भीतर पाठ की दिशा निर्धारित करता है
B.
Defines the order of stacking for positioned elements
स्थित तत्वों के लिए स्टैकिंग के क्रम को परिभाषित करता है
C.
Sets the direction of the flexible items inside a flex container
फ्लेक्स कंटेनर के अंदर लचीली वस्तुओं की दिशा निर्धारित करता है
D.
Controls the spacing between lines of text
पाठ की पंक्तियों के बीच अंतर को नियंत्रित करता है
Latest Current Affairs 2025
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