O Level Online Exam
Menu mobile
Home
MCQ Topic Wise
INFORMATION TECHNOLOGY TOOLS AND NETWORK BASIS
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 BASIS
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
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# :
02
out of 50
Report Bug
What does the CSS property border: 2px solid #000; do
सीएसएस संपत्ति सीमा क्या है: 2px ठोस #000; करना
A.
Sets a solid black border with a width of 2 pixels
2 पिक्सेल की चौड़ाई के साथ एक ठोस काला बॉर्डर सेट करता है
B.
Adds a shadow to the border of an element
किसी तत्व की सीमा पर एक छाया जोड़ता है
C.
Removes the border from the element
तत्व से बॉर्डर हटा देता है
D.
Changes the font color to black
फ़ॉन्ट का रंग बदलकर काला कर देता है
Question No# :
03
out of 50
Report Bug
Which property is used to give space between content and border?
A.
margin
margin
B.
indent
indent
C.
padding
padding
D.
gap
gap
Question No# :
04
out of 50
Report Bug
What should be the value of the width attribute, so that the width of the element adjusts itself to the current width of its parent element?
चौड़ाई विशेषता का मान क्या होना चाहिए, ताकि तत्व की चौड़ाई अपने मूल तत्व की वर्तमान चौड़ाई के अनुसार समायोजित हो जाए?
A.
100rem
100rem
B.
100%
100%
C.
100vw
100vw
D.
100em
100em
Question No# :
05
out of 50
Report Bug
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# :
06
out of 50
Report Bug
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# :
07
out of 50
Report Bug
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# :
08
out of 50
Report Bug
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# :
09
out of 50
Report Bug
The CSS property display: flex; is used to
सीएसएस संपत्ति डिस्प्ले: फ्लेक्स; करने के लिए प्रयोग किया जाता है
A.
Make an element inline-block
एक तत्व इनलाइन-ब्लॉक बनाएं
B.
Create a block-level flex container
एक ब्लॉक-स्तरीय फ्लेक्स कंटेनर बनाएं
C.
Apply a shadow to the element
तत्व पर छाया लागू करें
D.
Change the font size of the element
तत्व का फ़ॉन्ट आकार बदलें
Question No# :
10
out of 50
Report Bug
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# :
11
out of 50
Report Bug
How do you make a list that lists its items with squares?
A.
list-style-type: square;
list-style-type: square;
B.
list-type: square;
list-type: square;
C.
list: square;
list: square;
D.
list-style: square;
list-style: square;
Question No# :
12
out of 50
Report Bug
Which of the following selector selects the element that is the targeted in the URL?
निम्न में से कौन सा चयनकर्ता उस एलिमेंट्स का चयन करता है जो URL में लक्षित है?
A.
:selected
:सेलेक्टेड
B.
:link
:लिंक
C.
:target
:टारगेट
D.
:enabled
:इनेबल्ड
Question No# :
13
out of 50
Report Bug
If an element have padding values 20px for top, 30px bottom, 15px for right, 10px for left. Then which of the following is the correct way to set that padding?
A.
padding: 20px 30px 15px 10px
padding: 20px 30px 15px 10px
B.
padding: 20px 15px 30px 10px
padding: 20px 15px 30px 10px
C.
padding: 15px 30px 10px 20px
padding: 15px 30px 10px 20px
D.
padding: 30px 15px 20px 10px
padding: 30px 15px 20px 10px
Question No# :
14
out of 50
Report Bug
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# :
15
out of 50
Report Bug
What is true about CSS?
CSS के बारे में क्या सत्य है?
A.
apply styles for the web page
apply styles for the web page
B.
define structure of the web page
define structure of the web page
C.
provide meaning to the sections of the web page
provide meaning to the sections of the web page
D.
none of the above
none of the above
Question No# :
16
out of 50
Report Bug
The CSS property z-index is used to:
CSS संपत्ति z-index का उपयोग इसके लिए किया जाता है
A.
Set the opacity of an element
किसी तत्व की अपारदर्शिता सेट करें
B.
Define the order of stacking for positioned elements
स्थित तत्वों के लिए स्टैकिंग के क्रम को परिभाषित करें
C.
Control the size of an element
किसी तत्व के आकार को नियंत्रित करें
D.
Specify the shadow of an element
किसी तत्व की छाया निर्दिष्ट करें
Question No# :
17
out of 50
Report Bug
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# :
18
out of 50
Report Bug
Which of the following is the CSS Extension Prefixes for Webkit ?
निम्नलिखित में से कौन वेबकिट के लिए सी एस एस एक्सटेंशन प्रीफिक्स है?
A.
-webkit
-webkit
B.
-0-
-0-
C.
web
web
D.
-chrome
-chrome
Question No# :
19
out of 50
Report Bug
In how many ways can CSS be written in?
A.
2
2
B.
3
3
C.
4
4
D.
5
5
Question No# :
20
out of 50
Report Bug
How can you select all elements of a specific class in CSS
आप CSS में किसी विशिष्ट वर्ग के सभी तत्वों का चयन कैसे कर सकते हैं
A.
#classname
#कक्षा का नाम
B.
.classname
कक्षा का नाम
C.
element.classname
तत्व.वर्गनाम
D.
.classname
कक्षा का नाम
Question No# :
21
out of 50
Report Bug
What is the default value of the position property?
A.
absolute
absolute
B.
static
static
C.
fixed
fixed
D.
relative
relative
Question No# :
22
out of 50
Report Bug
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# :
23
out of 50
Report Bug
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# :
24
out of 50
Report Bug
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# :
25
out of 50
Report Bug
What does the CSS property pointer-events: none; do
प्रश्न: सीएसएस प्रॉपर्टी पॉइंटर-इवेंट्स: कोई नहीं; कर
A.
B.
Question No# :
26
out of 50
Report Bug
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# :
27
out of 50
Report Bug
Which of the following property is used to control the scrolling of an image in the background?
पेज के बैकग्राउंड में किसी पिक्चर की स्क्रॉलिंग को नियंत्रित करने के लिए निम्नलिखित में से किस प्रॉपर्टी का उपयोग किया जाता है?
A.
background-attachment
background-attachment
B.
background
background
C.
background-repeat
background-repeat
D.
background-position
background-position
Question No# :
28
out of 50
Report Bug
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# :
29
out of 50
Report Bug
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# :
30
out of 50
Report Bug
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# :
31
out of 50
Report Bug
Which is not a advantage of using CSS?
A.
Rich Decoiration
Rich Decoiration
B.
Faster download times.
Faster download times.
C.
Greater consistency in design.
Greater consistency in design.
D.
No need to write HTML Tags
No need to write HTML Tags
Question No# :
32
out of 50
Report Bug
Which CSS property should one use to encircle an image with text?
किसी छवि को टेक्स्ट के साथ घेरने के लिए किस सीएसएस प्रॉपर्टी का उपयोग करना चाहिए?
A.
Float
Float
B.
Push
Push
C.
Align
Align
D.
wrap
wrap
Question No# :
33
out of 50
Report Bug
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# :
34
out of 50
Report Bug
How do you select elements with class name 'test'?
A.
test
test
B.
.test
.test
C.
*test
*test
D.
#test
#test
Question No# :
35
out of 50
Report Bug
What is full form of CMYK
CMYK का फुल फॉर्म क्या है?
A.
Cyan, Magenta, Yellow and Blue
Cyan, Magenta, Yellow and Blue
B.
Cyan, Magenta, Yellow and Key(Black)
Cyan, Magenta, Yellow and Key(Black)
C.
Cyan, Magenta, Yellow and Khaki
Cyan, Magenta, Yellow and Khaki
D.
None of these
None of these
Question No# :
36
out of 50
Report Bug
How to insert multiple line comments in a CSS file ?
एक सीएसएस फ़ाइल में एकाधिक लाइन कमेंट कैसे सम्मिलित करें?
A.
//statement
//statement
B.
'statement
'statement
C.
/*statement */
/*statement */
D.
// statement //
// statement //
Question No# :
37
out of 50
Report Bug
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# :
38
out of 50
Report Bug
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# :
39
out of 50
Report Bug
Which of the following is a correct CSS Syntax ?
निम्नलिखित में से कौन एक सही सी एस एस सिंटैक्स है?
A.
{body; color:orange;}
{body; color:orange;}
B.
{body: color=orange;}
{body: color=orange;}
C.
body:color=orange;
body:color=orange;
D.
body{color:orange}
body{color:orange}
Question No# :
40
out of 50
Report Bug
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# :
41
out of 50
Report Bug
What is the purpose of the margin property in CSS
CSS में मार्जिन प्रॉपर्टी का उद्देश्य क्या है
A.
Adds space inside an element
किसी तत्व के अंदर स्थान जोड़ता है
B.
Adds space outside an element
किसी तत्व के बाहर स्थान जोड़ता है
C.
Sets the font size
फ़ॉन्ट आकार सेट करता है
D.
Changes the background color
पृष्ठभूमि का रंग बदलता है
Question No# :
42
out of 50
Report Bug
Which type of CSS is used in the code ? <p style = "border:2px solid red;">
<p style = "border:2px solid red;"> दिए गए कूट में किस प्रकार के CSS का प्रयोग किया गया है
A.
External CSS
External CSS
B.
Internal CSS
Internal CSS
C.
Inline CSS
Inline CSS
D.
None of these
None of these
Question No# :
43
out of 50
Report Bug
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# :
44
out of 50
Report Bug
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# :
45
out of 50
Report Bug
The CSS property border-image is used for
CSS प्रॉपर्टी बॉर्डर-इमेज का उपयोग किया जाता है
A.
Adding a background image to the border
बॉर्डर पर पृष्ठभूमि छवि जोड़ना
B.
Applying an image as the border of an element
किसी छवि को किसी तत्व की सीमा के रूप में लागू करना
C.
Changing the color of the border
बॉर्डर का रंग बदलना
D.
Adjusting the spacing between lines of text
पाठ की पंक्तियों के बीच अंतर को समायोजित करना
Question No# :
46
out of 50
Report Bug
In CSS, selectors are ___ used to select the element you want to style.
सीएसएस में, सेलेक्टर ___ का उपयोग उस तत्व का चयन करने के लिए किया जाता है जिसे आप स्टाइल करना चाहते हैं।
A.
Classes
Classes
B.
Patterns
Patterns
C.
Properties
Properties
D.
Functions
Functions
Question No# :
47
out of 50
Report Bug
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# :
48
out of 50
Report Bug
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# :
49
out of 50
Report Bug
If an element becomes invisible but the rest of the web page layout is not affected, then what could be the property applied to that element?
A.
display: none;
display: none;
B.
visibility: hidden;
visibility: hidden;
C.
display: hidden;
display: hidden;
D.
visibility: none;
visibility: none;
Question No# :
50
out of 50
Report Bug
If the width of an element is exceeded by the content of the element, then which property will define the behaviour of the content?
A.
overflow-y
overflow-y
B.
overflow-x
overflow-x
C.
overflow-width
overflow-width
D.
overflow -z
overflow -z
CCC Online Test
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Online Exam Quiz
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Best Website and Software Company in Allahabad
Website development Company in Allahabad