Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : css - PROPERTIES IN CSS
PROPERTIES IN CSS
00:00:00
English
Hindi
Question No# :
01
out of 50
Which CSS property is used to change the background color?
बैकग्राउंड रंग बदलने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है?
A.
color
color
B.
background-color
background-color
C.
bgcolor
bgcolor
D.
None Of These
None Of These
Question No# :
02
out of 50
Which property changes bullet image?
कौन सी प्रॉपर्टी बुलेट की इमेज को बदलती है?
A.
list-image
list-image
B.
bullet-image
bullet-image
C.
list-style-image
list-style-image
D.
image-style
image-style
Question No# :
03
out of 50
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# :
04
out of 50
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# :
05
out of 50
Which of the following components of the CSS box model are transparent?
सीएसएस बॉक्स मॉडल के निम्नलिखित में से कौन से घटक पारदर्शी हैं?
A.
Padding
Padding
B.
Margin
Margin
C.
Border
Border
D.
Both A and B
Both A and B
Question No# :
06
out of 50
What is the default value of the display property for a <div> elementWhat is the default value of the display property for a <div> element
<div> तत्व के लिए डिस्प्ले प्रॉपर्टी का डिफ़ॉल्ट मान क्या है
A.
inline
इन - लाइन
B.
block
अवरोध पैदा करना
C.
inline-block
इनलाइन-ब्लॉक
D.
flex
मोड़ना
Question No# :
07
out of 50
The CSS property transition is used for:
सीएसएस संपत्ति संक्रमण का उपयोग इसके लिए किया जाता है:
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# :
08
out of 50
Which property is used in CSS to change the background color?
CSS में बैकग्राउंड का रंग बदलने के लिए किस प्रॉपर्टी का उपयोग किया जाता है?
A.
bgcolor
बीजी कलर
B.
background-color
बैकग्राउंड कलर
C.
color
कलर
D.
back-color
बैक-कलर
Question No# :
09
out of 50
Which value prevents a background image from repeating?
कौन सा मान पृष्ठभूमि छवि को दोहराने से रोकता है?
A.
repeat-x
repeat-x
B.
repeat-y
repeat-y
C.
no-repeat
no-repeat
D.
fixed
fixed
Question No# :
10
out of 50
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# :
11
out of 50
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# :
12
out of 50
Identify correct statement about CSS padding property :
CSS पैडिंग प्रॉपर्टी के बारे में सही कथन की पहचान करें:
A.
Padding is used to create space around an element's content, inside of any defined borders.
Padding is used to create space around an element's content, inside of any defined borders.
B.
There are properties for setting the padding for each side of an element.
There are properties for setting the padding for each side of an element.
C.
To shorten the code, it is possible to specify all the padding properties in one property.
To shorten the code, it is possible to specify all the padding properties in one property.
D.
All of the options
All of the options
Question No# :
13
out of 50
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# :
14
out of 50
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# :
15
out of 50
The CSS property text-align: center; is used to
सीएसएस संपत्ति टेक्स्ट-एलाइन: सेंटर; करने के लिए प्रयोग किया जाता है
A.
Align the text to the left
पाठ को बाईं ओर संरेखित करें
B.
Align the text to the right
पाठ को दाईं ओर संरेखित करें
C.
Center-align the text
पाठ को केंद्र-संरेखित करें
D.
Justify the text
पाठ का औचित्य सिद्ध करें
Question No# :
16
out of 50
which 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# :
17
out of 50
<p>Match the CSS Position Property with Its Meaning</p><p><br></p><table class="table table-bordered"><tbody><tr><td><span style="font-size: 14px;"><b>CSS Position Property</b></span></td><td><span style="font-size: 14px;"><b>Meaning</b></span></td></tr><tr><td><span style="font-size: 14px;">A. static</span></td><td><span style="font-size: 14px;">1. Positions an element at a fixed place in the viewport</span></td></tr><tr><td><span style="font-size: 14px;">B. relative</span></td><td><span style="font-size: 14px;">2. The default position (no special positioning)</span></td></tr><tr><td><span style="font-size: 14px;">C. absolute</span></td><td><span style="font-size: 14px;">3. Positions the element relative to the nearest positioned ancestor</span></td></tr><tr><td><span style="font-size: 14px;">D. fixed</span></td><td><span style="font-size: 14px;">4. Moves the element relative to its normal position</span></td></tr><tr><td><br></td><td><span style="font-size: 14px;">5. Makes an element float over other elements</span></td></tr><tr><td><br></td><td><span style="font-size: 14px;">6. Aligns the element at the center of the page</span></td></tr></tbody></table><p><br></p>
सीएसएस स्थिति संपत्ति का उसके अर्थ के साथ मिलान करें
A.
A → 5, B → 4, C → 3, D → 1
A → 5, B → 4, C → 3, D → 1
B.
A → 2, B → 4, C → 3, D → 1
A → 2, B → 4, C → 3, D → 1
C.
A → 5, B → 4, C → 3, D →6
A → 5, B → 4, C → 3, D →6
D.
A → 4, B → 5, C → 3, D → 1
A → 4, B → 5, C → 3, D → 1
Question No# :
18
out of 50
The CSS property box-sizing: border-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# :
19
out of 50
What does the CSS property box-shadow allow you to do
CSS प्रॉपर्टी बॉक्स-शैडो आपको क्या करने की अनुमति देती है
A.
Add a shadow to the border of an element
किसी तत्व की सीमा पर एक छाया जोड़ें
B.
Change the background color of an element
किसी तत्व का पृष्ठभूमि रंग बदलें
C.
Increase the element's size
तत्व का आकार बढ़ाएँ
D.
Apply a shadow to the text inside an element
किसी तत्व के अंदर टेक्स्ट पर छाया लागू करें
Question No# :
20
out of 50
Default value of CSS position property is
सीएसएस पोजीशन प्रॉपर्टी का डिफ़ॉल्ट मान है
A.
Relative
Relative
B.
Absolute
Absolute
C.
Fixed
Fixed
D.
Static
Static
Question No# :
21
out of 50
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# :
22
out of 50
Which CSS property is used to make the text bold
टेक्स्ट को बोल्ड करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
font-weight
font-weight
B.
font-style
font-style
C.
text-decoratio
text-decoratio
D.
text-weight
text-weight
Question No# :
23
out of 50
Select the CSS property that sets the width of an element’s bottom border?
उस CSS गुण का चयन करें जो तत्व की निचली सीमा की चौड़ाई निर्धारित करता है?
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# :
24
out of 50
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# :
25
out of 50
Which property is used to give space between content and border?
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# :
26
out of 50
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# :
27
out of 50
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# :
28
out of 50
In CSS, which property merges table borders?
CSS में, कौन सी प्रॉपर्टी टेबल बॉर्डर को मर्ज करती है?
A.
border-spacing
border-spacing
B.
border-style
border-style
C.
border-collapse
border-collapse
D.
border-radius
border-radius
Question No# :
29
out of 50
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# :
30
out of 50
The CSS property used to make the text bold is
टेक्स्ट को बोल्ड करने के लिए इस्तेमाल की जाने वाली CSS प्रॉपर्टी है
A.
text-decoration: bold
text-decoration: bold
B.
font-weight : bold
font-weight : bold
C.
font-style: bold
font-style: bold
D.
text-align: bold
text-align: bold
Question No# :
31
out of 50
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# :
32
out of 50
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# :
33
out of 50
To control image repetition in CSS, the correct option is:
सी एस एस में इमेज रिपीटेशन को नियंत्रित करने के लिए सही विकल्प है:
A.
h1{ background-loop: none;}
h1{ background-loop: none;}
B.
h1{background-repeat: none; }
h1{background-repeat: none; }
C.
h1 { background-iterate: none;}
h1 { background-iterate: none;}
D.
None of the above
None of the above
Question No# :
34
out of 50
What is the default value of the position property?
CSS में पोजीशन प्रॉपर्टी के डिफ़ॉल्ट वैल्यू क्या है
A.
absolute
absolute
B.
static
static
C.
fixed
fixed
D.
relative
relative
Question No# :
35
out of 50
What does the CSS property position: fixed; do
सीएसएस संपत्ति की स्थिति क्या है: निश्चित; करना
A.
Positions the element relative to its normal position
तत्व को उसकी सामान्य स्थिति के सापेक्ष स्थित करता है
B.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
C.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
D.
Fixes the element to a specified position in the viewport
तत्व को व्यूपोर्ट में एक निर्दिष्ट स्थान पर ठीक करता है
Question No# :
36
out of 50
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# :
37
out of 50
What does the z-index property in CSS control
CSS में z-index प्रॉपर्टी क्या नियंत्रित करती है
A.
Opacity
अस्पष्टता
B.
Visibility
दृश्यता
C.
Stacking order
ढेर लगाने का क्रम
D.
Font size
फ़ॉन्ट आकार
Question No# :
38
out of 50
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# :
39
out of 50
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# :
40
out of 50
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# :
41
out of 50
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
पाठ की पंक्तियों के बीच अंतर को नियंत्रित करता है
Question No# :
42
out of 50
The CSS property transition-delay is used to:
सीएसएस संपत्ति संक्रमण-विलंब का उपयोग इसके लिए किया जाता है
A.
Set the duration of the transition effect
संक्रमण प्रभाव की अवधि निर्धारित करें
B.
Define the property being transitioned
परिवर्तित की जा रही संपत्ति को परिभाषित करें
C.
Specify the starting value of the transitioned property
परिवर्तित संपत्ति का प्रारंभिक मूल्य निर्दिष्ट करें
D.
Introduce a delay before the transition effect begins
संक्रमण प्रभाव शुरू होने से पहले विलंब का परिचय दें
Question No# :
43
out of 50
The CSS property outline: none; is used to:
सीएसएस संपत्ति रूपरेखा: कोई नहीं; करने के लिए प्रयोग किया जाता है
A.
Remove the border of an element
किसी एलिमेंट की सीमा हटाएँ
B.
Remove the shadow of an element
किसी एलिमेंट की छाया हटाएँ
C.
Remove the outline of an element
किसी एलिमेंट की रूपरेखा निकालें
D.
Remove the background color of an element
किसी एलिमेंट का पृष्ठभूमि रंग हटाएँ
Question No# :
44
out of 50
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# :
45
out of 50
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# :
46
out of 50
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# :
47
out of 50
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# :
48
out of 50
If the width of an element is exceeded by the content of the element, then which property will define the behaviour of the content?
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
Question No# :
49
out of 50
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# :
50
out of 50
Which selector is used to target all elements on a webpage
वेबपेज पर सभी तत्वों को लक्षित करने के लिए किस चयनकर्ता का उपयोग किया जाता है
A.
#
#
B.
*
*
C.
.
.
D.
!
!
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2026
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Best Website and Software Company in Allahabad