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
What is the correct syntax for applying a class in CSS
CSS में क्लास लगाने के लिए सही सिंटैक्स क्या है
A.
#classname
#वर्गनाम
B.
.classname
वर्गनाम
C.
classname
वर्गनाम
D.
*classname
*वर्गनाम
Question No# :
02
out of 50
Report Bug
Bookmark
____________ is used to add special effects to a website, such as animation, or hover effects.
____________ का यूज़ किसी वेबसाइट पर विशेष इफ़ेक्ट ऐड करने के लिए किया जाता है, जैसे एनीमेशन, या होवर इफ़ेक्ट।
A.
CSS
सीएसएस
B.
PHP
पीएचपी
C.
Javascript
जावास्क्रिप्ट
D.
HTML
एचटीएमएल
Question No# :
03
out of 50
Report Bug
Bookmark
Which property is used to change the left margin of an element?
किसी तत्व के बाएँ मार्जिन को बदलने के लिए किस गुण का उपयोग किया जाता है?
A.
margin-left
margin-left
B.
indent
indent
C.
padding-left
padding-left
D.
left-margin
left-margin
Question No# :
04
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# :
05
out of 50
Report Bug
Bookmark
Which CSS unit is relative to the font-size of the nearest parent element with a specified font size
कौन सी सीएसएस इकाई निर्दिष्ट फ़ॉन्ट आकार के साथ निकटतम मूल तत्व के फ़ॉन्ट-आकार से संबंधित है
A.
px
पिक्सल
B.
em
ईएम
C.
rem
रेम
D.
vw
vw
Question No# :
06
out of 50
Report Bug
Bookmark
Which CSS property is used to set the style of the cursor when hovering over an element
किसी तत्व पर होवर करते समय कर्सर की शैली सेट करने के लिए किस सीएसएस प्रॉपर्टी का उपयोग किया जाता है
A.
cursor-style
कर्सर शैली
B.
hover-cursor
होवर-कर्सर
C.
cursor-type
कर्सर प्रकार
D.
cursor
कर्सर
Question No# :
07
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# :
08
out of 50
Report Bug
Bookmark
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# :
09
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# :
10
out of 50
Report Bug
Bookmark
Which tag is used to link an external style sheet to a webpage?
बाहरी स्टाइल शीट को वेबपेज से जोड़ने के लिए किस टैग का उपयोग किया जाता है?
A.
<Link> tag
लिंक टैग
B.
<Style> tag
स्टाइल टैग
C.
<Script> tag
स्क्रिप्ट टैग
D.
@media
@मीडिया
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
The CSS property transition: all 0.3s ease-in-out; does what to an element
सीएसएस संपत्ति संक्रमण: सभी 0.3 आसानी से अंदर-बाहर; किसी तत्व के लिए क्या करता है
A.
Adds a smooth transition effect to all properties over 0.3 seconds
0.3 सेकंड में सभी संपत्तियों में एक सहज संक्रमण प्रभाव जोड़ता है
B.
Changes the font style of the element
तत्व की फ़ॉन्ट शैली बदलता है
C.
Applies a shadow to the element
तत्व पर छाया लागू करता है
D.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
Question No# :
13
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# :
14
out of 50
Report Bug
Bookmark
____tag embeds CSS in a webpage.
_____टैग सीएसएस एक वेबपेज में CSS करता है।
A.
<html>
<html>
B.
<style>
<style>
C.
<css>
<css>
D.
<xml>
<xml>
Question No# :
15
out of 50
Report Bug
Bookmark
What is the default value of the position property?
A.
absolute
absolute
B.
static
static
C.
fixed
fixed
D.
relative
relative
Question No# :
16
out of 50
Report Bug
Bookmark
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# :
17
out of 50
Report Bug
Bookmark
Which CSS property sets a background image for an element?
किस CSS प्रॉपर्टी की मदद से किसी एलिमेंट में बैकग्राउंड इमेज लगा सकते है
A.
background
background
B.
background-attachment
background-attachment
C.
background-color
background-color
D.
background or background-image both
background और background-image both
Question No# :
18
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# :
19
out of 50
Report Bug
Bookmark
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# :
20
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# :
21
out of 50
Report Bug
Bookmark
The __________ property allows to indent the first line of text in an element.
___ प्रॉपर्टी किसी एलिमेंट में टेक्स्ट की पहली पंक्ति को इंडेंट करने की अनुमति देता है।
A.
text-first
text-first
B.
text-indent
text-indent
C.
first-indent
first-indent
D.
text-first-indent
text-first-indent
Question No# :
22
out of 50
Report Bug
Bookmark
The CSS property border-radius is used to
CSS प्रॉपर्टी बॉर्डर-रेडियस का उपयोग किया जाता है
A.
Change the color of the border
बॉर्डर का रंग बदलें
B.
Add a shadow to the element
तत्व में एक छाया जोड़ें
C.
Create rounded corners for the element
तत्व के लिए गोल कोने बनाएं
D.
Applies absolute positioning to all child elements
सभी चाइल्ड तत्वों पर पूर्ण स्थिति लागू करता है
Question No# :
23
out of 50
Report Bug
Bookmark
What is the correct CSS syntax for making all the <p> elements bold?
A.
p { font-weight:bold; }
p { font-weight:bold; }
B.
<p style=”font-size:bold;”>
<p style=”font-size:bold;”>
C.
p { text-size:bold; }
p { text-size:bold; }
D.
<p style=”text-size:bold;”>
<p style=”text-size:bold;”>
Question No# :
24
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# :
25
out of 50
Report Bug
Bookmark
How do you display hyperlinks without an underline?
A.
a {decoration:no-underline;}
a {decoration:no-underline;}
B.
a {underline:none;}
a {underline:none;}
C.
a {text-decoration:none;}
a {text-decoration:none;}
D.
a {text-decoration:no-underline;}
a {text-decoration:no-underline;}
Question No# :
26
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# :
27
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# :
28
out of 50
Report Bug
Bookmark
What is the correct way to remove the underline from text
टेक्स्ट से अंडरलाइन हटाने का सही तरीका क्या है
A.
text-underline:none
text-underline:none
B.
text-decoration:none;
text-decoration:none;
C.
text-underline:hide;
text-underline:hide;
D.
text-decoration:hide;
text-decoration:hide;
Question No# :
29
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# :
30
out of 50
Report Bug
Bookmark
What does CSS stands for?
CSS का क्या मतलब है?
A.
Creating Style Sheets
Creating Style Sheets
B.
Cascading Style Sheets
Cascading Style Sheets
C.
Computer Style Sheets
Computer Style Sheets
D.
Colorful Style Sheets
Colorful Style Sheets
Question No# :
31
out of 50
Report Bug
Bookmark
Which of the following properties of an anchor element indicates that the user is currently clicking on an element ?
एंकर एलिमेंट के निम्नलिखित में से कौन सा गुण यह दर्शाता है कि उपयोगकर्ता वर्तमान में किसी एलीमेंट पर क्लिक कर रहा है?
A.
:link
:link
B.
:visited
:visited
C.
:hover
:hover
D.
:active
:active
Question No# :
32
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# :
33
out of 50
Report Bug
Bookmark
Are the negative values allowed in padding property?
क्या पैडिंग प्रॉपर्टी में निगेटिव वैल्यूज की अनुमति है?
A.
Yes
हाँ
B.
No
नहीं
C.
Cannot say
नहीं कह सकते
D.
May be
हो सकता है
Question No# :
34
out of 50
Report Bug
Bookmark
Which property specifies the duration of a transition effect
कौन सी संपत्ति संक्रमण प्रभाव की अवधि निर्दिष्ट करती है
A.
transition-speed
संक्रमण-गति
B.
animation-duration
एनीमेशन-अवधि
C.
. transition-duration
संक्रमण-अवधि
D.
duration
अवधि
Question No# :
35
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# :
36
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# :
37
out of 50
Report Bug
Bookmark
The CSS property font-family is used to:
सीएसएस संपत्ति फ़ॉन्ट-फ़ैमिली का उपयोग इसके लिए किया जाता है:
A.
Set the size of the font
फ़ॉन्ट का आकार सेट करें
B.
Define the style of the font
फ़ॉन्ट की शैली परिभाषित करें
C.
Specify the font color
फ़ॉन्ट रंग निर्दिष्ट करें
D.
Specify the font type or family
फ़ॉन्ट प्रकार या परिवार निर्दिष्ट करें
Question No# :
38
out of 50
Report Bug
Bookmark
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# :
39
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# :
40
out of 50
Report Bug
Bookmark
Which of the following is true for pseudo class in CSS?
सी एस एस में सूड़ो सिलेक्टर के लिए निम्नलिखित में से कौन सा कथन सत्य है?
A.
Match A Specified Element
Match A Specified Element
B.
Select The Active Links
Select The Active Links
C.
Are Used to Select All the Visited Links
Are Used to Select All the Visited Links
D.
Are Used to Define a Special State of An Element
Are Used to Define a Special State of An Element
Question No# :
41
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# :
42
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# :
43
out of 50
Report Bug
Bookmark
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# :
44
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# :
45
out of 50
Report Bug
Bookmark
Which of the following selector selects elements that do not match the selector s?
निम्नलिखित में से कौन सा चयनकर्ता उन तत्वों का चयन करता है जो चयनकर्ता से मेल नहीं खाते हैं?
A.
:!(s)
:!(s)
B.
:nth-child(s)
:nth-child(s)
C.
:not(s)
:not(s)
D.
None of these
None of these
Question No# :
46
out of 50
Report Bug
Bookmark
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# :
47
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# :
48
out of 50
Report Bug
Bookmark
Which of the following selector select an element if it's the child of its parent ?
निम्न में से कौन सा सेलेक्टर एक एलिमेंट सेलेक्ट करता है यदि उसका चाइल्ड उसके पैरेंट का हो।
A.
:root
:root
B.
:nth-of-type(n)
:nth-of-type(n)
C.
:only-child
:only-child
D.
none of the mentioned
उल्लिखित में से कोई नहीं
Question No# :
49
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# :
50
out of 50
Report Bug
Bookmark
How do you select all paragraphs in CSS
आप सीएसएस में सभी पैराग्राफ का चयन कैसे करते हैं
A.
p:all
पी:सभी
B.
paragraph:all
अनुच्छेद:सभी
C.
p *
पी *
D.
p
पी
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