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 - SELECTORS
SELECTORS
00:00:00
English
Hindi
Question No# :
01
out of 48
Which of the following selector selects the elements that are checked?
निम्नलिखित में से कौन सा चयनकर्ता चेक किए गए तत्वों का चयन करता है?
A.
E ~ F
E ~ F
B.
::after
::after
C.
:checked
:checked
D.
None of these
इनमें से कोई नहीं
Question No# :
02
out of 48
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# :
03
out of 48
In CSS, selectors are ___ used to select the element you want to style.
सीएसएस में, सेलेक्टर ___ का उपयोग उस तत्व का चयन करने के लिए किया जाता है जिसे आप स्टाइल करना चाहते हैं।
A.
Classes
Classes
B.
Patterns
Patterns
C.
Properties
Properties
D.
Functions
Functions
Question No# :
04
out of 48
How do you select an element with id 'demo'?
How do you select an element with id 'demo'?
A.
*demo
*demo
B.
#demo
#demo
C.
demo
demo
D.
.demo
.demo
Question No# :
05
out of 48
Which of the following selector selects the elements that are currently enabled?
निम्नलिखित में से कौन सा चयनकर्ता उन एलिमेंट का चयन करता है जो वर्तमान में एक्टिव हैं?
A.
:element
:element
B.
:empty
:empty
C.
:enabled
:enabled
D.
None of these
इनमें से कोई नहीं
Question No# :
06
out of 48
Which selector is being used to specify a group of elements
एलिमेंट के ग्रुप को स्पेसिफ़ाई करने के लिए किस चयनकर्ता का उपयोग किया जा रहा है
A.
Name
नेम
B.
ID
आई डी
C.
Class
क्लास
D.
Tag
टैग
Question No# :
07
out of 48
If the elements - <p>, <h4> and <a> tags are needed to be of the orange color, then which of the following will do this?
If the elements - <p>, <h4> and <a> tags are needed to be of the orange color, then which of the following will do this?
A.
p h4 a { color: orange; }
p h4 a { color: orange; }
B.
p; h4; a { color: orange; }
p; h4; a { color: orange; }
C.
p+a+h4 { color: orange; }
p+a+h4 { color: orange; }
D.
h4, a, p { color: orange; }
h4, a, p { color: orange; }
Question No# :
08
out of 48
How to apply styles to para’s having class ‘style’? (There are other elements with same class name)
How to apply styles to para’s having class ‘style’? (There are other elements with same class name)
A.
p
p
B.
p.style
p.style
C.
p-style
p-style
D.
.style
.style
Question No# :
09
out of 48
Which of the following selector selects the element that is the targeted in the URL?
निम्न में से कौन सा चयनकर्ता उस एलिमेंट्स का चयन करता है जो URL में लक्षित है?
A.
:selected
:सेलेक्टेड
B.
:link
:लिंक
C.
:target
:टारगेट
D.
:enabled
:इनेबल्ड
Question No# :
10
out of 48
Which of the following selector matches a element based on its id?
निम्नलिखित में से कौन सा सेलेक्टर अपनी आईडी के आधार पर किसी एलिमेंट से मेल खाता है?
A.
The universal selector
यूनिवर्सल चयनकर्ता
B.
The Descendant Selector
वंशज चयनकर्ता
C.
The Class selector
कक्षा चयनकर्ता
D.
The id selector
आईडी चयनकर्ता
Question No# :
11
out of 48
How do you select an element with id "demo"?
How do you select an element with id "demo"?
A.
demo
demo
B.
#demo
#demo
C.
.demo
.demo
D.
*demo
*demo
Question No# :
12
out of 48
How can you apply the same style to multiple selectors in a single rule
आप एक ही नियम में एक ही शैली को विभिन्न चयन पोर्टफोलियो पर कैसे लागू कर सकते हैं
A.
Separate each selector with a comma
प्रत्येक चयनकर्ता को अल्पविराम से अलग करें
B.
Use the & symbol
& चिह्न का प्रयोग करें
C.
Use the || symbol
|| का प्रयोग करें प्रतीक
D.
Separate each selector with a colon
प्रत्येक चयनकर्ता को कोलन से अलग करें
Question No# :
13
out of 48
Which symbol indicates class selector in CSS.
CSS में कौन सा सिंबल क्लास सेलेक्टर को इंडीकेट करता है।
A.
Hash
हैश
B.
Plus
प्लस
C.
Dot
डॉट
D.
None
कोई भी नहीं
Question No# :
14
out of 48
What should be used for an unique element as attribute name in the following: <p ___=”_12t”>
What should be used for an unique element as attribute name in the following: <p ___=”_12t”>
A.
id
id
B.
class
class
C.
The element will be in the DOM, but won’t work as required
The element will be in the DOM, but won’t work as required
D.
The element would not be in the DOM
The element would not be in the DOM
Question No# :
15
out of 48
Which of the following attribute is used to provide a unique name to an element?
किसी एलिमेंट को यूनिक नाम प्रदान करने के लिए निम्नलिखित में से किस विशेषता का उपयोग किया जाता है?
A.
class
class
B.
id
id
C.
type
type
D.
None of the above
None of the above
Question No# :
16
out of 48
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# :
17
out of 48
How do you select elements with class name 'test'?
How do you select elements with class name 'test'?
A.
test
test
B.
.test
.test
C.
*test
*test
D.
#test
#test
Question No# :
18
out of 48
How do you group selectors?
आप चयनकर्ताओं को कैसे समूहित करते हैं?
A.
Separate each selector with a plus sign
Separate each selector with a plus sign
B.
Separate each selector with a comma
Separate each selector with a comma
C.
Separate each selector with a space
Separate each selector with a space
D.
All of These
All of These
Question No# :
19
out of 48
Which of the following selector selects the elements that are the default among a set of similar elements?
निम्नलिखित में से कौन सा चयनकर्ता उन तत्वों का चयन करता है जो समान तत्वों के सेट के बीच डिफ़ॉल्ट हैं?
A.
:default
:default
B.
:%
:%
C.
:disabled
:disabled
D.
None of these
इनमें से कोई नहीं
Question No# :
20
out of 48
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
A.
class
class
B.
id
id
C.
article
article
D.
html
html
Question No# :
21
out of 48
The :nth-child(odd) selector in CSS selects
CSS में :nth-child(odd) चयनकर्ता चयन करता है
A.
Every odd-numbered child element of its parent
प्रत्येक विषम संख्या वाला बच्चा तत्व अपने माता-पिता का होता है
B.
Every even-numbered child element of its parent
अपने माता-पिता का प्रत्येक सम-संख्या वाला बच्चा तत्व
C.
Only the first child element of its parent
अपने माता-पिता का केवल पहला संतान तत्व
D.
All child elements of its parent
इसके माता-पिता के सभी बाल तत्व
Question No# :
22
out of 48
Which of the following selector selects the element that is the first child of its parent that is of its type?
निम्नलिखित में से कौन सा सेलेक्टर उस एलीमेंट का चयन करता है जो उसके पैरेंट का पहला चाइल्ड है जो उसी के प्रकार का है?
A.
:first-child
:first-child
B.
:last-child
:last-child
C.
::first-line
::first-line
D.
::first-letter
::first-letter
Question No# :
23
out of 48
How do you select all p elements inside a div element?
How do you select all p elements inside a div element?
A.
div p
div p
B.
div.p
div.p
C.
div + p
div + p
D.
div ~ p
div ~ p
Question No# :
24
out of 48
Which of the following selector selects all elements of E that have the attribute attr that end with the given value?
निम्नलिखित में से कौन सा चयनकर्ता E के उन सभी तत्वों का चयन करता है जिनमें विशेषता attr है जो दिए गए मान के साथ समाप्त होती है?
A.
E[attr^=value]
E[attr^=value]
B.
E[attr$=value]
E[attr$=value]
C.
E[attr*=value]
E[attr*=value]
D.
None of these
इनमें से कोई नहीं
Question No# :
25
out of 48
Which CSS pseudo-class is used to select and style a link that has been visited?
विज़िट किए गए लिंक को चुनने और स्टाइल करने के लिए किस सीएसएस छद्म-वर्ग का उपयोग किया जाता है
A.
:link
:जोड़ना
B.
:visited
:का दौरा किया
C.
:active
:सक्रिय
D.
:hover
:होवर
Question No# :
26
out of 48
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# :
27
out of 48
How can you select an element with the id "example" in CSS
आप सीएसएस में "उदाहरण" आईडी के साथ एक तत्व का चयन कैसे कर सकते हैं
A.
#example
#उदाहरण
B.
.example
उदाहरण
C.
element#example
तत्व#उदाहरण
D.
example
उदाहरण
Question No# :
28
out of 48
Which selector is used to specify a group of elements?
Which selector is used to specify a group of elements?
A.
id
id
B.
class
class
C.
tag
tag
D.
both b) and c)
both b) and c)
Question No# :
29
out of 48
Which CSS selector will be used to define a single element style?
किसी एक एलिमेंट के स्टाइल को परिभाषित करने के लिए किस सी एस एस सेलेक्टर का उपयोग किया जायेगे ?
A.
ID
ID
B.
Class
Class
C.
Text
Text
D.
Name
Name
Question No# :
30
out of 48
The :not(selector) in CSS is used to
CSS में :not(selector) का उपयोग किया जाता है
A.
Select all elements
सभी तत्वों का चयन करें
B.
Select all elements except the specified selector
निर्दिष्ट चयनकर्ता को छोड़कर सभी तत्वों का चयन करें
C.
Select only the first child of its parent
इसके माता-पिता की केवल पहली संतान का चयन करें
D.
Select only the last child of its parent
इसके माता-पिता की केवल अंतिम संतान का चयन करें
Question No# :
31
out of 48
How do you select elements with class name "test"?
How do you select elements with class name "test"?
A.
*test
*test
B.
#test
#test
C.
.test
.test
D.
test
test
Question No# :
32
out of 48
How can you select all direct child elements of a specific parent in CSS
आप सीएसएस में किसी विशिष्ट माता-पिता के सभी प्रत्यक्ष बाल तत्वों का चयन कैसे कर सकते हैं
A.
parent > child
अभिभावक > बच्चा
B.
parent child
अभिभावक बच्चा
C.
parent .child
अभिभावक .बच्चा
D.
parent + child
माता-पिता + बच्चा
Question No# :
33
out of 48
Which CSS pseudo-element is used to select the first line of a block
किसी ब्लॉक की पहली पंक्ति का चयन करने के लिए किस CSS छद्म तत्व का उपयोग किया जाता है
A.
:first-line
:पहली पंक्ति
B.
:line-first
::पंक्ति-प्रथम
C.
:first-letter
:प्रथम पत्र
D.
:line-start
:लाइन-स्टार्ट
Question No# :
34
out of 48
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# :
35
out of 48
How will you make all paragraph elements 'GREY in color?
आप सभी पैराग्राफ़ एलिमेंट्स को 'ग्रे रंग में' कैसे बनाएंगे?
A.
p.all{color: grey;}
p.all{color: grey;}
B.
p.all {color: #990000;}
p.all {color: #990000;}
C.
all.p {color: #998877:)
all.p {color: #998877:)
D.
p {color: grey;}
p {color: grey;}
Question No# :
36
out of 48
Which CSS pseudo-class is used to select an element when it is being clicked
किसी तत्व को क्लिक करते समय उसका चयन करने के लिए किस सीएसएस छद्म वर्ग का उपयोग किया जाता है
A.
:link
:जोड़ना
B.
:visited
:का दौरा किया
C.
:active
:सक्रिय
D.
:hover
:होवर
Question No# :
37
out of 48
The CSS pseudo-class :hover is used to select an element when
सीएसएस छद्म वर्ग :hover का उपयोग किसी तत्व का चयन करने के लिए किया जाता है
A.
It is being clicked
इसे क्लिक किया जा रहा है
B.
It is being hovered over with the mouse
इस पर माउस से मंडराया जा रहा है
C.
It is the first child of its parent
यह अपने माता-पिता की पहली संतान है
D.
It is visited
इसका दौरा किया जाता है
Question No# :
38
out of 48
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 48
How can you select all elements of a specific class in CSS
आप CSS में किसी विशिष्ट वर्ग के सभी तत्वों का चयन कैसे कर सकते हैं
A.
#classname
#कक्षा का नाम
B.
.classname
कक्षा का नाम
C.
element.classname
तत्व.वर्गनाम
D.
.classname
कक्षा का नाम
Question No# :
40
out of 48
How do you group multiple selectors?
आप अनेक चयनकर्ताओं का समूह कैसे बनाते हैं?
A.
Separate each selector with a plus sign
Separate each selector with a plus sign
B.
Separate each selector with a space
Separate each selector with a space
C.
Separate each selector with a comma
Separate each selector with a comma
D.
Seperate each selector with a star
Seperate each selector with a star
Question No# :
41
out of 48
How to apply styles to all <span> element inside para’s having class ‘style’?
How to apply styles to all <span> element inside para’s having class ‘style’?
A.
p.style span
p.style span
B.
p.style.span
p.style.span
C.
p.style span*
p.style span*
D.
none of the above
none of the above
Question No# :
42
out of 48
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 style="font-size:bold;">
<p style="font-size:bold;">
B.
p {text-size:bold;}
p {text-size:bold;}
C.
<p style="text-size:bold;">
<p style="text-size:bold;">
D.
p {font-weight:bold;}
p {font-weight:bold;}
Question No# :
43
out of 48
How do you select an element with the class name "example" in CSS
आप सीएसएस में क्लास नाम "उदाहरण" के साथ एक तत्व का चयन कैसे करते हैं
A.
.example
उदाहरण
B.
#example
#उदाहरण
C.
element.example
elementउदाहरण
D.
example
उदाहरण
Question No# :
44
out of 48
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# :
45
out of 48
How do you select all paragraphs in CSS
आप सीएसएस में सभी पैराग्राफ का चयन कैसे करते हैं
A.
p:all
पी:सभी
B.
paragraph:all
अनुच्छेद:सभी
C.
p *
पी *
D.
p
पी
Question No# :
46
out of 48
Which of the following selector selects an element if it’s the only child of its parent?
Which of the following selector selects an element if it’s the only child of its parent?
A.
:root
:root
B.
:nth-oftype(n)
:nth-oftype(n)
C.
:only-child
:only-child
D.
None of these
इनमें से कोई नहीं
Question No# :
47
out of 48
How do you add a background color for all <h1> elements?
आप सभी <h1> तत्वों के लिए पृष्ठभूमि रंग कैसे जोड़ते हैं?
A.
h1.all {background-color:red;}
h1.all {background-color:red;}
B.
h1 {background-color:red;}
h1 {background-color:red;}
C.
all.h1 {background-colorred;}
all.h1 {background-colorred;}
D.
.h1{background-color:red}
.h1{background-color:red}
Question No# :
48
out of 48
Which type of CSS is used in the code ? <p style = "border:2px solid red;">
<p style = "border:2px solid red;"> दिए गए कूट में किस प्रकार के CSS का प्रयोग किया गया है
A.
External CSS
External CSS
B.
Internal CSS
Internal CSS
C.
Inline CSS
Inline CSS
D.
None of these
None of these
CCC Online Test 2021
CCC Practice Test Hindi
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