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
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# :
02
out of 50
The CSS property text-transform: capitalize; does what to the text
The CSS property text-transform: capitalize; does what to the text
A.
Converts the text to lowercase
टेक्स्ट को लोअरकेस में परिवर्तित करता है
B.
Converts the text to uppercase
टेक्स्ट को अपरकेस में परिवर्तित करता है
C.
Capitalizes the first letter of each word
प्रत्येक शब्द के पहले अक्षर को बड़े अक्षरों में लिखें
D.
Changes the color of the pointer
सूचक का रंग बदलता है
Question No# :
03
out of 50
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# :
04
out of 50
Which CSS property is used to control the font size of an elemen
किसी तत्व के फ़ॉन्ट आकार को नियंत्रित करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
font-style
लिपि शैली
B.
font-size
फ़ॉन्ट आकार
C.
text-size
टेक्स्ट का साइज़
D.
size
आकार
Question No# :
05
out of 50
The CSS property position: static; is used to
सीएसएस संपत्ति स्थिति: स्थिर; करने के लिए प्रयोग किया जाता है
A.
Fix the element at the top of the viewport during scrolling
स्क्रॉलिंग के दौरान व्यूपोर्ट के शीर्ष पर तत्व को ठीक करें
B.
Remove the element from the document flow
दस्तावेज़ प्रवाह से तत्व निकालें
C.
Position the element relative to its normal position
तत्व को उसकी सामान्य स्थिति के सापेक्ष रखें
D.
Center-align the element on the page
पृष्ठ पर तत्व को केंद्र-संरेखित करें
Question No# :
06
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# :
07
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
सीमा-नीचे
Question No# :
08
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# :
09
out of 50
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# :
10
out of 50
If an element have margin values 20px for top, 20px for bottom, 30px for right, 30px for left. Then which of the following is the correct way to set the margin?
If an element have margin values 20px for top, 20px for bottom, 30px for right, 30px for left. Then which of the following is the correct way to set the margin?
A.
margin: 20px 20px 30px 30px
margin: 20px 20px 30px 30px
B.
margin: 30px 20px
margin: 30px 20px
C.
margin: 20px 30px
margin: 20px 30px
D.
margin: 30px 30px 20px 20px
margin: 30px 30px 20px 20px
Question No# :
11
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# :
12
out of 50
What is the correct way to link an external CSS file to an HTML document
किसी बाहरी CSS फ़ाइल को HTML दस्तावेज़ से लिंक करने का सही तरीका क्या है
A.
<style src="style.css">
<स्टाइल src='style.css'>
B.
<link rel="stylesheet" href="style.css">
<लिंक rel='स्टाइलशीट' href='style.css'>
C.
. <css link="style.css">
. <सीएसएस लिंक='स्टाइल.सीएसएस'>
D.
<script src="style.css">
<स्क्रिप्ट src='style.css'>
Question No# :
13
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# :
14
out of 50
Which CSS property controls the text size?
CSS में किस प्रॉपर्टी के मदद से फॉण्ट साइज़ को काम ज्यादा किया जा सकता है
A.
font-size
font-size
B.
text-size
text-size
C.
font-style
font-style
D.
text-style
text-style
Question No# :
15
out of 50
Default value of CSS position property is
सीएसएस पोजीशन प्रॉपर्टी का डिफ़ॉल्ट मान है
A.
Relative
Relative
B.
Absolute
Absolute
C.
Fixed
Fixed
D.
Static
Static
Question No# :
16
out of 50
Which CSS property is used to control the spacing between lines of text
टेक्स्ट की पंक्तियों के बीच अंतर को नियंत्रित करने के लिए किस CSS प्रॉपर्टी का उपयोग किया जाता है
A.
line-spacing
पंक्ति रिक्ति
B.
text-spacing
टेक्स्ट-स्पेसिंग
C.
line-height
ऊंची लाईन
D.
text-height
पाठ की ऊंचाई
Question No# :
17
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# :
18
out of 50
The CSS property text-decoration: none; is used to
सीएसएस संपत्ति पाठ-सजावट: कोई नहीं; करने के लिए प्रयोग किया जाता है
A.
Remove the underline from a link
किसी लिंक से अंडरलाइन हटा दें
B.
Apply an underline to a link
किसी लिंक पर अंडरलाइन लागू करें
C.
Change the font size of a link
किसी लिंक का फ़ॉन्ट आकार बदलें
D.
Set the color of a link
लिंक का रंग सेट करें
Question No# :
19
out of 50
What does CSS stand for
सीएसएस का मतलब क्या है
A.
Computer Style Sheets
कंप्यूटर स्टाइल शीट
B.
Creative Style Sheets
क्रिएटिव स्टाइल शीट्स
C.
. Cascading Style Sheets
व्यापक शैली पत्रक
D.
Colorful Style Sheets
रंगीन स्टाइल शीट
Question No# :
20
out of 50
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# :
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
Which CSS attribute(s) should one use to create a pink dotted border around an image?
किसी छवि के चारों ओर गुलाबी डॉटेड बॉर्डर बनाने के लिए किस सीएसएस विशेषता (विशेषताओं) का उपयोग करना चाहिए?
A.
border-line
बॉर्डर-लाइन
B.
border-style
बॉर्डर-स्टाइल
C.
border-color
बॉर्डर-कलर
D.
Both B and C
बी और सी दोनों
Question No# :
23
out of 50
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# :
24
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# :
25
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# :
26
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# :
27
out of 50
What is the correct CSS syntax for making all the <p> elements bold?
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# :
28
out of 50
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# :
29
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# :
30
out of 50
For making object fully transparent which option is correct
वस्तु को पूर्णतः पारदर्शी बनाने के लिए कौन सा विकल्प सही है
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
इनमें से कोई नहीं
Question No# :
31
out of 50
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# :
32
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# :
33
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# :
34
out of 50
The CSS property text-justify: inter-word; is used to
सीएसएस संपत्ति text-justify: inter-word; करने के लिए प्रयोग किया जाता है
A.
Center-align the text
पाठ को केंद्र-संरेखित करें
B.
Justify the text by increasing the space between words
शब्दों के बीच रिक्त स्थान बढ़ाकर पाठ का औचित्य सिद्ध करें
C.
Align the text to the left
पाठ को बाईं ओर संरेखित करें
D.
Change the font style of the text
टेक्स्ट की फ़ॉन्ट शैली बदलें
Question No# :
35
out of 50
Which of the following has introduced text, list, box, margin, border, color, and background properties?
निम्नलिखित में से किसने टेक्स्ट, सूची, बॉक्स, मार्जिन, बॉर्डर, रंग और पृष्ठभूमि पेश की है गुण?
A.
HTML
HTML
B.
PHP
PHP
C.
CSS
CSS
D.
Ajax
Ajax
Question No# :
36
out of 50
Which CSS property is used to control the space between the borders of adjacent cells in a table
किसी तालिका में आसन्न कोशिकाओं की सीमाओं के बीच के स्थान को नियंत्रित करने के लिए किस CSS संपत्ति का उपयोग किया जाता है
A.
cell-spacing
कोशिका-अंतराल
B.
table-spacing
टेबल-स्पेसिंग
C.
border-spacing
सीमा-अंतराल
D.
cell-padding
सेल-पैडिंग
Question No# :
37
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# :
38
out of 50
What does the CSS property background-repeat: no-repeat; do
CSS प्रॉपर्टी बैकग्राउंड-रिपीट: नो-रिपीट; क्या करती है
A.
Repeats the background horizontally and vertically
पृष्ठभूमि को क्षैतिज और लंबवत रूप से दोहराता है
B.
Does not repeat the background image
पृष्ठभूमि छवि को दोहराता नहीं है
C.
Repeats the background only vertically
पृष्ठभूमि को केवल लंबवत रूप से दोहराता है
D.
Changes the background color
पृष्ठभूमि का रंग बदलता है
Question No# :
39
out of 50
The CSS property visibility: hidden; does what to an element
सीएसएस संपत्ति दृश्यता: छिपा हुआ; किसी तत्व के लिए क्या करता है
A.
Hides the element but preserves the space it occupies
तत्व को छुपाता है लेकिन उसके द्वारा घेरी गई जगह को सुरक्षित रखता है
B.
Makes the element transparent
तत्व को पारदर्शी बनाता है
C.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
D.
Makes the element visible
तत्व को दृश्यमान बनाता है
Question No# :
40
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# :
41
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# :
42
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# :
43
out of 50
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?
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# :
44
out of 50
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# :
45
out of 50
Which CSS property specifies how a video, or an image is resized to fit its content box ?
कौन सी सीएसएस संपत्ति निर्दिष्ट करती है कि कैसे एक वीडियो, या एक छवि को उसके सामग्री बॉक्स में फिट करने के लिए आकार दिया जाता है?
A.
Position
पोजीशन
B.
Object-position
ऑब्जेक्ट-पोज़िशन
C.
Object-Fit
ऑब्जेक्ट-फिट
D.
None of These
इनमें से कोई नहीं
Question No# :
46
out of 50
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# :
47
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# :
48
out of 50
Which property is used to change the font of an element?
किसी तत्व का फ़ॉन्ट बदलने के लिए किस गुण का उपयोग किया जाता है?
A.
font-style
font-style
B.
font-family
font-family
C.
font-weight
font-weight
D.
font-color
font-color
Question No# :
49
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# :
50
out of 50
What does the CSS property opacity: 0.5; indicate?
सीएसएस संपत्ति का क्या अर्थ है अपारदर्शिता: 0.5; संकेत देना
A.
Makes the element transparent
तत्व को पारदर्शी बनाता है
B.
Increases the font size
फ़ॉन्ट आकार बढ़ाता है
C.
Adds a shadow to the element
तत्व में एक छाया जोड़ता है
D.
Changes the background color
पृष्ठभूमि का रंग बदलता है
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