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 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# :
02
out of 50
What is the purpose of the CSS property position: relative;?
सीएसएस संपत्ति स्थिति का उद्देश्य क्या है: सापेक्ष;
A.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
B.
Positions the element relative to its normal position
तत्व को उसकी सामान्य स्थिति के सापेक्ष स्थित करता है
C.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
D.
Applies relative positioning to all child elements
सभी चाइल्ड तत्वों पर सापेक्ष स्थिति लागू करता है
Question No# :
03
out of 50
The CSS property word-break: break-all; is used to
सीएसएस संपत्ति वर्ड-ब्रेक: ब्रेक-ऑल; करने के लिए प्रयोग किया जाता है
A.
Break the text into individual words
पाठ को अलग-अलग शब्दों में तोड़ें
B.
Allow long words to break and wrap onto the next line
लंबे शब्दों को टूटने दें और अगली पंक्ति में लपेटने दें
C.
Prevent hyphenation of words
शब्दों के हाइफ़नेशन को रोकें
D.
Change the font style of text
टेक्स्ट की फ़ॉन्ट शैली बदलें
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 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# :
06
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# :
07
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# :
08
out of 50
How do you make a list that lists its items with squares?
How do you make a list that lists its items with squares?
A.
list-style-type: square;
list-style-type: square;
B.
list-type: square;
list-type: square;
C.
list: square;
list: square;
D.
list-style: square;
list-style: square;
Question No# :
09
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# :
10
out of 50
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?
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# :
11
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# :
12
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# :
13
out of 50
How do you apply multiple external CSS files to an HTML document
आप एक HTML दस्तावेज़ में एकाधिक बाहरी CSS फ़ाइलें कैसे लागू करते हैं
A.
Only one file can be linked at a time
एक समय में केवल एक ही फाइल को लिंक किया जा सकता है
B.
Use multiple <link> tags for each file
प्रत्येक फ़ाइल के लिए एकाधिक <लिंक> टैग का उपयोग करें
C.
Combine all styles into one file
सभी शैलियों को एक फ़ाइल में संयोजित करें
D.
Load them with a <script> tag.
उन्हें <script> टैग के साथ लोड करें
Question No# :
14
out of 50
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# :
15
out of 50
How do you add a background color for all <h1> elements?
How do you add a background color for all <h1> elements?
A.
all.h1 { background-color:#FFFFFF; }
all.h1 { background-color:#FFFFFF; }
B.
h1 { background-color:#FFFFFF; }
h1 { background-color:#FFFFFF; }
C.
h1.all { background-color:#FFFFFF; }
h1.all { background-color:#FFFFFF; }
D.
none of the above
none of the above
Question No# :
16
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# :
17
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# :
18
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# :
19
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# :
20
out of 50
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# :
21
out of 50
<p>Match the CSS Property with Its Function</p><p><br></p><table class="table table-bordered"><tbody><tr><td><span style="font-size: 14px;"><b>CSS Property</b></span></td><td><span style="font-size: 14px;"><b>Function</b></span></td></tr><tr><td>A. color</td><td><span style="font-size: 14px;">1. Sets the background color of an element</span></td></tr><tr><td>B. margin</td><td><span style="font-size: 14px;">2. Changes the text color of an element</span></td></tr><tr><td>C. padding</td><td><span style="font-size: 14px;">3. Adds space inside an element’s border</span></td></tr><tr><td>D. background-color</td><td><span style="font-size: 14px;">4. Adds space around an element outside its border</span></td></tr></tbody></table><p><br></p>
CSS प्रॉपर्टी को उसके फंक्शन से मिलाएँ
A.
A → 1, B → 2, C → 3, D →4
A → 1, B → 2, C → 3, D →4
B.
A → 2, B → 1, C → 3, D → 4
A → 2, B → 1, C → 3, D → 4
C.
A → 2, B → 4, C → 3, D → 1
A → 2, B → 4, C → 3, D → 1
D.
A → 2, B → 4, C → 1, D → 3
A → 2, B → 4, C → 1, D → 3
Question No# :
22
out of 50
Which HTML tag is used to apply an external CSS file
बाहरी CSS फ़ाइल को लागू करने के लिए किस HTML टैग का उपयोग किया जाता है
A.
<style>
<शैली>
B.
<css>
<सीएसएस>
C.
. <link>
<लिंक>
D.
. <script>
<स्क्रिप्ट>
Question No# :
23
out of 50
How will you make all paragraph text color is 'RED' ?
आप सभी पैराग्राफ के टेक्स्ट को 'लाल' रंग में कैसे करेंगे ?
A.
p { color: red; }
p { color: red; }
B.
p { color:rgb(255,0,0); }
p { color:rgb(255,0,0); }
C.
p { color: rgba(255,0,0,1); }
p { color: rgba(255,0,0,1); }
D.
all of the above
all of the above
Question No# :
24
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# :
25
out of 50
Which of the following properties is used to set the face of a font?
फॉण्ट का फेस सेट करने के लिए निम्न में से किस प्रॉपर्टी का प्रयोग किया जाता है?
A.
font-family
फ़ॉन्ट-फैमिली
B.
font-face
फॉन्ट फ़ेस
C.
font-variant
फॉन्ट-वैरिएंट
D.
font-style
फॉन्ट-स्टाइल
Question No# :
26
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# :
27
out of 50
What does the CSS property overflow: hidden; do
सीएसएस संपत्ति क्या करती है अतिप्रवाह: छिपा हुआ; करना
A.
Hides the content that overflows the element's box
उस सामग्री को छुपाता है जो तत्व के बॉक्स को ओवरफ़्लो करती है
B.
Adds a shadow to the element
तत्व में एक छाया जोड़ता है
C.
Centers the element on the page
तत्व को पृष्ठ पर केन्द्रित करता है
D.
Removes the element from the document flow
दस्तावेज़ प्रवाह से तत्व को हटा देता है
Question No# :
28
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# :
29
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# :
30
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# :
31
out of 50
Default value of CSS position property is
सीएसएस पोजीशन प्रॉपर्टी का डिफ़ॉल्ट मान है
A.
Relative
Relative
B.
Absolute
Absolute
C.
Fixed
Fixed
D.
Static
Static
Question No# :
32
out of 50
Which property sets the font of an element
कौन सा गुण किसी तत्व का फ़ॉन्ट सेट करता है
A.
Font
फ़ॉन्ट
B.
font-family
फुहारा परिवार
C.
Font
फ़ॉन्ट
D.
type
प्रकार
Question No# :
33
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# :
34
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# :
35
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# :
36
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# :
37
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# :
38
out of 50
What does the CSS property position: absolute; 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.
Applies absolute positioning to all child elements
सभी चाइल्ड तत्वों पर पूर्ण स्थिति लागू करता है
Question No# :
39
out of 50
What does the > selector do in CSS
> चयनकर्ता CSS में क्या करता है
A.
Selects all elements
सभी तत्वों का चयन करता है
B.
Selects all child elements of a specified element
किसी निर्दिष्ट तत्व के सभी चाइल्ड तत्वों का चयन करता है
C.
Selects all descendant elements
सभी क्लासिक सामानों का चयन किया जाता है
D.
Selects the next sibling element
अगले सहोदर तत्व का चयन करता है
Question No# :
40
out of 50
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# :
41
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# :
42
out of 50
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# :
43
out of 50
Which property prevents elements from overlapping a floated element
कौन सा गुण तत्वों को फ़्लोट किए गए तत्व को ओवरलैप करने से रोकता है
A.
clear
clear
B.
overflow
overflow
C.
z-index
z-index
D.
display
display
Question No# :
44
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# :
45
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# :
46
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# :
47
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# :
48
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# :
49
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# :
50
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
आकार
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