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
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# :
02
out of 50
Which property will be used to display an image of at least 100px width?
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
By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code?
By default Hyperlinks are displayed with an underline. How do you remove the underline from all hyperlinks by using CSS code?
A.
a { underline:none; }
a { underline:none; }
B.
a { text-decoration:no-underline; }
a { text-decoration:no-underline; }
C.
a { decoration:no-underline; }
a { decoration:no-underline; }
D.
a { text-decoration:none; }
a { text-decoration:none; }
Question No# :
04
out of 50
If we want to use a dotted border around an image, which css property will we use?
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# :
05
out of 50
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# :
06
out of 50
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?
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# :
07
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# :
08
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# :
09
out of 50
What does the CSS property object-fit control
CSS प्रॉपर्टी ऑब्जेक्ट-फिट नियंत्रण क्या करती है
A.
The size of the content box
सामग्री बॉक्स का आकार
B.
The alignment of the text
पाठ का संरेखण
C.
How an element's content should be resized to fit its container
किसी तत्व की सामग्री को उसके कंटेनर में फिट करने के लिए कैसे आकार बदला जाना चाहिए
D.
The position of the element in the viewport
व्यूपोर्ट में तत्व की स्थिति
Question No# :
10
out of 50
which SS property helps one to decide whether the text should be clipped, show some dots (ellipsis), or display a custom string ?
कौन सी एसएस प्रॉपटी यह तय करने में मदद करती है कि टेक्स्ट को क्लिप किया जाना चाहिए, कुछ दिखाएं डॉट्स (इलिप्सिस), या एक कस्टम स्ट्रिंग प्रदर्शित करते हैं?
A.
Text-decoration
Text-decoration
B.
Text-stroke
Text-stroke
C.
Text-shadow
Text-shadow
D.
Text-overflow
Text-overflow
Question No# :
11
out of 50
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# :
12
out of 50
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# :
13
out of 50
Which of the following is not a value for font-style property?
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# :
14
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# :
15
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# :
16
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# :
17
out of 50
Which of the following is not used with text-decoration property?
Which of the following is not used with text-decoration property?
A.
overline
overline
B.
underline
underline
C.
line-through
line-through
D.
inline
inline
Question No# :
18
out of 50
Which is not a valid Background property of css
जो सीएसएस की वैध पृष्ठभूमि संपत्ति नहीं है
A.
background-image
पृष्ठभूमि छवि
B.
background-position
पृष्ठभूमि स्थिति
C.
background-color
पृष्ठभूमि का रंग
D.
background-iterate
पृष्ठभूमि-पुनरावृत्ति
Question No# :
19
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# :
20
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# :
21
out of 50
The CSS property word-spacing is used to control
CSS प्रॉपर्टी वर्ड-स्पेसिंग का उपयोग नियंत्रित करने के लिए किया जाता है
A.
The spacing between lines of text
पाठ की पंक्तियों के बीच का अंतर
B.
The spacing between words in a text
किसी पाठ में शब्दों के बीच का अंतर
C.
The width of the words in a text
किसी पाठ में शब्दों की चौड़ाई
D.
The color of the words in a text
किसी पाठ में शब्दों का रंग
Question No# :
22
out of 50
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# :
23
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# :
24
out of 50
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# :
25
out of 50
The currentColor value in CSS is used for:
सीएसएस में वर्तमान रंग मान का उपयोग इसके लिए किया जाता है:
A.
Setting the current date and time
वर्तमान दिनांक और समय निर्धारित करना
B.
Matching the color value of the element's text
तत्व के पाठ के रंग मान का मिलान
C.
Adjusting the transparency of an element
किसी तत्व की पारदर्शिता को समायोजित करना
D.
Changing the font family of an element
किसी तत्व का फ़ॉन्ट परिवार बदलना
Question No# :
26
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# :
27
out of 50
Which property is used to display the text in italics?
Which property is used to display the text in italics?
A.
font-family
font-family
B.
font-style
font-style
C.
font-weight
font-weight
D.
text-style
text-style
Question No# :
28
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# :
29
out of 50
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# :
30
out of 50
How do you make the text bold using CSS?
How do you make the text bold using CSS?
A.
style:bold;
style:bold;
B.
font:bold;
font:bold;
C.
font-weight:bold;
font-weight:bold;
D.
text:bold;
text:bold;
Question No# :
31
out of 50
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# :
32
out of 50
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# :
33
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# :
34
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# :
35
out of 50
Which CSS property is used to change the order of flex items
फ्लेक्स आइटम के क्रम को बदलने के लिए किस सीएसएस प्रॉपर्टी का उपयोग किया जाता है?
A.
order
आदेश
B.
flex-order
फ्लेक्स-ऑर्डर
C.
item-order
आइटम-ऑर्डर
D.
flex-direction
फ्लेक्स-दिशा
Question No# :
36
out of 50
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# :
37
out of 50
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# :
38
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# :
39
out of 50
Which of the following options is correct for the following statements: 1) Vertical margins add together 2) Horizontal margins add together
Which of the following options is correct for the following statements: 1) Vertical margins add together 2) Horizontal margins add together
A.
Statement 1) is correct and 2) is incorrect
Statement 1) is correct and 2) is incorrect
B.
Statement 1) is incorrect and 2) is correct
Statement 1) is incorrect and 2) is correct
C.
Statement 1) and 2) are both correct
Statement 1) and 2) are both correct
D.
Statement 1) and 2) are both incorrect
Statement 1) and 2) are both incorrect
Question No# :
40
out of 50
What are the benefit of using CSS in web pages
वेब पेजों में CSS का उपयोग करने के क्या फायदे हैं
A.
Easier to maintain and update
रखरखाव और अद्यतन करना आसान
B.
Greater consistency in design
डिज़ाइन में अधिक स्थिरता
C.
. More formatting options.
. अधिक स्वरूपण विकल्प.
D.
ऊपर के सà¤à¥€
ऊपर के सभी
Question No# :
41
out of 50
Which property sets the font of an element
कौन सा गुण किसी तत्व का फ़ॉन्ट सेट करता है
A.
Font
फ़ॉन्ट
B.
font-family
फुहारा परिवार
C.
Font
फ़ॉन्ट
D.
type
प्रकार
Question No# :
42
out of 50
Which pseudo-class is used to define the style of an element when a user mouses over it
जब कोई उपयोगकर्ता किसी तत्व पर माउस ले जाता है तो उसकी शैली को परिभाषित करने के लिए किस छद्म वर्ग का उपयोग किया जाता है
A.
:link
:जोड़ना
B.
:hover
:होवर
C.
:active
:सक्रिय
D.
:focus
:केंद्र
Question No# :
43
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# :
44
out of 50
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# :
45
out of 50
How do you display hyperlinks without an underline?
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# :
46
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# :
47
out of 50
What does the CSS property display: none; do
सीएसएस संपत्ति क्या प्रदर्शित करती है: कोई नहीं; करना
A.
Hides the element
तत्व को छुपाता है
B.
Changes the font
फ़ॉन्ट बदलता है
C.
Increases the element's size
तत्व का आकार बढ़ाता है
D.
Makes the element visible
तत्व को दृश्यमान बनाता है
Question No# :
48
out of 50
Which CSS property controls the text size?
Which CSS property controls the text size?
A.
font-size
font-size
B.
text-size
text-size
C.
font-style
font-style
D.
text-style
text-style
Question No# :
49
out of 50
What is the default value of the position property?
What is the default value of the position property?
A.
absolute
absolute
B.
static
static
C.
fixed
fixed
D.
relative
relative
Question No# :
50
out of 50
Which CSS property is used to create a horizontal line
क्षैतिज रेखा बनाने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
hr-line
घंटा लाइन
B.
line-horizontal
रेखा-क्षैतिज
C.
horizontal-line
क्षैतिज रेखा
D.
border-bottom
सीमा-नीचे
Latest Current Affairs 2025
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2025
Python Programming Tutorials
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
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz