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
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# :
02
out of 50
Report Bug
Bookmark
Which of the following CSS selectors are used to specify a group of elements
निम्नलिखित में से किस सीएसएस चयनकर्ता का उपयोग तत्वों के समूह को निर्दिष्ट करने के लिए किया जाता है
A.
tag
टैग
B.
id
पहचान
C.
class
कक्षा
D.
both class and tag
क्लास और टैग दोनों
Question No# :
03
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# :
04
out of 50
Report Bug
Bookmark
Which of the following selector select sibling ?
निम्नलिखित में से कौन सा सेलेक्टर सिबलिंग को सेलेक्ट करता है?
A.
E.class
E.class
B.
E~F
E~F
C.
*
*
D.
E,F,G
E,F,G
Question No# :
05
out of 50
Report Bug
Bookmark
Which selector is used to target all elements on a webpage
वेबपेज पर सभी तत्वों को लक्षित करने के लिए किस चयनकर्ता का उपयोग किया जाता है
A.
#
#
B.
*
*
C.
.
.
D.
!
!
Question No# :
06
out of 50
Report Bug
Bookmark
How can you select an element with the id "example" in CSS
आप सीएसएस में "उदाहरण" आईडी के साथ एक तत्व का चयन कैसे कर सकते हैं
A.
#example
#उदाहरण
B.
.example
उदाहरण
C.
element#example
तत्व#उदाहरण
D.
example
उदाहरण
Question No# :
07
out of 50
Report Bug
Bookmark
The CSS property font-weight is used to control:
A.
The size of the font
अक्षरों के बीच का अंतर
B.
The thickness of the font characters
फ़ॉन्ट वर्णों की मोटाई
C.
The color of the font
फ़ॉन्ट का रंग
D.
The spacing between letters
अक्षरों के बीच का अंतर
Question No# :
08
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# :
09
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# :
10
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# :
11
out of 50
Report Bug
Bookmark
The CSS property text-transform: uppercase; is used to:
सीएसएस संपत्ति टेक्स्ट-ट्रांसफॉर्म: अपरकेस; करने के लिए प्रयोग किया जाता है
A.
Transform the text to italics
टेक्स्ट को इटैलिक में बदलें
B.
Change the text color to uppercase
टेक्स्ट का रंग अपरकेस में बदलें
C.
Apply uppercase letters to the text
पाठ में बड़े अक्षर लागू करें
D.
Set the font size to uppercase
फ़ॉन्ट आकार को अपरकेस पर सेट करें
Question No# :
12
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# :
13
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# :
14
out of 50
Report Bug
Bookmark
Which of the following properties will we use to display border around cell without any content?
निम्नलिखित में से किस गुण का उपयोग हम बिना किसी प्रॉपर्टी के सेल के चारों ओर बॉर्डर डिस्प्ले करने के लिए करेंगे?
A.
Empty-cell
एम्प्टी
B.
Blank-cell
ब्लेंक सेल
C.
Noncontent-cell
नॉनकंटेन्ट-सेल
D.
no-cell
नो-सेल
Question No# :
15
out of 50
Report Bug
Bookmark
What is work of padding property?
पैडिंग प्रॉपर्टी का कार्य क्या है?
A.
to set Space between its content and its border
to set Space between its content and its border
B.
to set Space outside content
to set Space outside content
C.
to set Space between tow lines
to set Space between tow lines
D.
to set Space between to character
to set Space between to character
Question No# :
16
out of 50
Report Bug
Bookmark
How can you set the font size of text in CSS?
आप सीएसएस में टेक्स्ट का फ़ॉन्ट आकार कैसे सेट कर सकते हैं?
A.
Size
Size
B.
text-size
text-size
C.
font-size
font-size
D.
font-dimension
font-dimension
Question No# :
17
out of 50
Report Bug
Bookmark
How do you select elements with class name "test"?
A.
*test
*test
B.
#test
#test
C.
.test
.test
D.
test
test
Question No# :
18
out of 50
Report Bug
Bookmark
To cluster a group of elements together to apply formatting
फॉर्मेटिंग_________लागू करने के लिए एलिमेंट के समूह को एक साथ समूहित करना |
A.
tag
tag
B.
class
class
C.
id
id
D.
div
div
Question No# :
19
out of 50
Report Bug
Bookmark
Which CSS selector will be used to define a single element style?
किसी एक एलिमेंट के स्टाइल को परिभाषित करने के लिए किस सी एस एस सेलेक्टर का उपयोग किया जायेगे ?
A.
ID
ID
B.
Class
Class
C.
Text
Text
D.
Name
Name
Question No# :
20
out of 50
Report Bug
Bookmark
How will you change font for a paragraph text?
आप किसी टेक्स्ट का फ़ॉन्ट कैसे बदलेंगे?
A.
p{font-style: "Times New Roman";}
p{font-style: "Times New Roman";}
B.
p{font-family:"Times New "roman",Times,serif;}
p{font-family:"Times New "roman",Times,serif;}
C.
p{font-weight:"Times New Roman",Times,serif;}
p{font-weight:"Times New Roman",Times,serif;}
D.
None of these
इनमें से कोई नहीं
Question No# :
21
out of 50
Report Bug
Bookmark
The :nth-child(odd) selector in CSS selects
CSS में :nth-child(odd) चयनकर्ता चयन करता है
A.
Every odd-numbered child element of its parent
प्रत्येक विषम संख्या वाला बच्चा तत्व अपने माता-पिता का होता है
B.
Every even-numbered child element of its parent
अपने माता-पिता का प्रत्येक सम-संख्या वाला बच्चा तत्व
C.
Only the first child element of its parent
अपने माता-पिता का केवल पहला संतान तत्व
D.
All child elements of its parent
इसके माता-पिता के सभी बाल तत्व
Question No# :
22
out of 50
Report Bug
Bookmark
What does the ‘margin:auto’ means?
A.
Set the margin equally on top and bottom of the element
Set the margin equally on top and bottom of the element
B.
Set the margin equally on left and right of the element
Set the margin equally on left and right of the element
C.
Set the margin equally on all sides of the element.
Set the margin equally on all sides of the element.
D.
It is uncertain what will happen
It is uncertain what will happen
Question No# :
23
out of 50
Report Bug
Bookmark
The CSS property transition is used for
CSS प्रॉपर्टी ट्रांज़िशन का उपयोग किसके लिए किया जाता है
A.
Adding a smooth transition effect to an element
किसी तत्व में सहज संक्रमण प्रभाव जोड़ना
B.
Changing the font of an element
किसी तत्व का फ़ॉन्ट बदलना
C.
Controlling the transition between different pages
विभिन्न पृष्ठों के बीच संक्रमण को नियंत्रित करना
D.
Changing the color of an element
किसी तत्व का रंग बदलना
Question No# :
24
out of 50
Report Bug
Bookmark
The CSS property font-style: italic; does what to the text
सीएसएस संपत्ति फ़ॉन्ट-शैली: इटैलिक; पाठ के साथ क्या करता है
A.
Makes the text bold
टेक्स्ट को बोल्ड बनाता है
B.
Applies an underline to the text
पाठ पर एक रेखांकन लागू करता है
C.
Applies an italic style to the text
टेक्स्ट पर इटैलिक शैली लागू करता है
D.
Centers the text within the container
टेक्स्ट को कंटेनर के भीतर केन्द्रित करता है
Question No# :
25
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# :
26
out of 50
Report Bug
Bookmark
If we want to use a dotted border around an image, which css property will we use?
A.
border-color
border-color
B.
border-decoration
border-decoration
C.
border-style
border-style
D.
border-line
border-line
Question No# :
27
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# :
28
out of 50
Report Bug
Bookmark
The attribute, which define the relationship between current document and HREFed URL is
वह विशेषता, जो वर्तमान दस्तावेज़ और HREFed URL के बीच संबंध को परिभाषित करती है
A.
REL
REL
B.
URL
URL
C.
REV
REV
D.
all of these
all of these
Question No# :
29
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# :
30
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# :
31
out of 50
Report Bug
Bookmark
Which property is used to give space between elements?
A.
padding
padding
B.
indent
indent
C.
margin
margin
D.
gap
gap
Question No# :
32
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# :
33
out of 50
Report Bug
Bookmark
What is the correct CSS syntax for making all the <p> elements bold?
A.
<p style="font-size:bold;">
<p style="font-size:bold;">
B.
p {text-size:bold;}
p {text-size:bold;}
C.
<p style="text-size:bold;">
<p style="text-size:bold;">
D.
p {font-weight:bold;}
p {font-weight:bold;}
Question No# :
34
out of 50
Report Bug
Bookmark
The CSS property transform is commonly used for
सीएसएस प्रॉपर्टी ट्रांसफॉर्म का आमतौर पर उपयोग किया जाता है
A.
Changing the background color of an element
किसी तत्व की पृष्ठभूमि का रंग बदलना
B.
Applying 3D transformations to an element
किसी तत्व पर 3D परिवर्तन लागू करना
C.
Setting the font size
फ़ॉन्ट आकार सेट करना
D.
Adjusting the spacing between lines of text
पाठ की पंक्तियों के बीच अंतर को समायोजित करना
Question No# :
35
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# :
36
out of 50
Report Bug
Bookmark
What is the purpose of the CSS float property
सीएसएस फ्लोट प्रॉपर्टी का उद्देश्य क्या है
A.
Adds rounded corners to an element
किसी तत्व में गोलाकार कोने जोड़ता है
B.
Aligns an element to the center
किसी तत्व को केंद्र में संरेखित करता है
C.
Moves an element to the left or right
किसी तत्व को बाएँ या दाएँ ले जाता है
D.
Changes the transparency of an element
किसी तत्व की पारदर्शिता को बदलता है
Question No# :
37
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# :
38
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# :
39
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# :
40
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# :
41
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# :
42
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# :
43
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# :
44
out of 50
Report Bug
Bookmark
Question: What does the CSS property pointer-events: none; do?
सीएसएस प्रॉपर्टी पॉइंटर-इवेंट्स: कोई नहीं; करना?
A.
Disables pointer events for the element
तत्व के लिए सूचक घटनाओं को अक्षम करता है
B.
Enables pointer events for the element
तत्व के लिए सूचक घटनाओं को सक्षम करता है
C.
Adds a pointer to the element
तत्व में एक सूचक जोड़ता है
D.
Changes the color of the pointer
पॉइंटर का रंग बदलता है
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
By using CSS style or code, how can one remove the underline from all hyperlinks?
सी एस एस स्टाइल या कोड का उपयोग करके, सभी हाइपरलिंक्स से रेखांकन को कैसे हटाया जा सकता है?
A.
a {text-decoration: no-underline;}
a {text-decoration: no-underline;}
B.
a {text: no-underline;}
a {text: no-underline;}
C.
a {text-decoration:none;}
a {text-decoration:none;}
D.
a (text-style: no-underline;}
a (text-style: no-underline;}
Question No# :
47
out of 50
Report Bug
Bookmark
Which of the following ways are valid to specify white color using CSS ?
सीएसएस का उपयोग करके सफेद रंग निर्दिष्ट करने के लिए निम्नलिखित में से कौन से तरीके मान्य हैं?
A.
#FFFFFF
#FFFFFF
B.
rgb (255, 255, 255)
rgb (255, 255, 255)
C.
rgb (FF,FF, FF)
rgb (FF,FF, FF)
D.
Both A and B
Both A and B
Question No# :
48
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# :
49
out of 50
Report Bug
Bookmark
The CSS property visibility: visible; does what to an element
सीएसएस संपत्ति दृश्यता: दृश्यमान; किसी तत्व के लिए क्या करता है
A.
Hides the element
तत्व को छुपाता है
B.
Makes the element visible
तत्व को दृश्यमान बनाता है
C.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
D.
Adds transparency to the element
तत्व में पारदर्शिता जोड़ता है
Question No# :
50
out of 50
Report Bug
Bookmark
Which of the following selector selects an element that has no childern ? ?
निम्नलिखित में से कौन सा सेलेक्टर उस एलिमेंट का चयन करता है जो जिसके कोई चाइल्ड नहीं है ?
A.
:empty
:empty
B.
:nochild
:nochild
C.
:inheritance
:inheritance
D.
:no-child
:no-child
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