O Level Exam
Menu mobile
Home
MCQ Topic Wise
INFORMATION TECHNOLOGY TOOLS AND NETWORK BASIS
New
WEB DESIGNING AND PUBLISHING
New
PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Online Mock Test
INFORMATION TECHNOLOGY TOOLS AND NETWORK BASIS
New
WEB DESIGNING AND PUBLISHING
New
PROGRAMMING AND PROBLEM SOLVING THROUGH PYTHON
New
INTERNET OF THINGS AND ITS APPLICATIONS
New
Old Papers
Practical Questions
Projects
MCQ Set 1 O Level - Web Designing and Publishing - CSS
MCQ Set 1 O Level - Web Designing and Publishing - CSS
English
Hindi
Question No. - 01
Report Bug
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
इनमें से कोई नहीं
→ Explanation
Question No. - 02
Report Bug
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
इनमें से कोई नहीं
→ Explanation
Question No. - 03
Report Bug
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
इनमें से कोई नहीं
→ Explanation
Question No. - 04
Report Bug
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. - 05
Report Bug
Which of the following selector selects the element that is the first child of its parent that is of its type?
निम्नलिखित में से कौन सा सेलेक्टर उस एलीमेंट का चयन करता है जो उसके पैरेंट का पहला चाइल्ड है जो उसी के प्रकार का है?
A.
:first-of-type
:first-of-type
B.
:last-child
:last-child
C.
::first-line
::first-line
D.
::first-letter
::first-letter
→ Explanation
Question No. - 06
Report Bug
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
→ Explanation
Question No. - 07
Report Bug
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
इनमें से कोई नहीं
→ Explanation
Question No. - 08
Report Bug
Which of the following selector applies styles to elements that are valid per HTML5 validations set either with the pattern or type attributes?
A.
:valid
B.
:required
C.
:optional
D.
:invalid
→ Explanation
Question No. - 09
Report Bug
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. - 10
Report Bug
Which of the following HTML attribute is used to define inline styles?
A.
Style
Style
B.
type
type
C.
class
class
D.
None of the above
None of the above
Question No. - 11
Report Bug
What does CSS stand for?
A.
Cascading Style Sheets
Cascading Style Sheets
B.
Creative Style Sheets
Creative Style Sheets
C.
Computer Style Sheets
Computer Style Sheets
D.
Colorful Style Sheets
Colorful Style Sheets
Question No. - 12
Report Bug
What is the correct HTML for referring to an external style sheet?
एक्सटरनल स्टाइल शीट को संदर्भित करने के लिए सही HTML क्या है?
A.
<style src="mystyle.css">
<style src="mystyle.css">
B.
<stylesheet>mystyle.css</stylesheet>
<stylesheet>mystyle.css</stylesheet>
C.
<link rel="stylesheet" type="text/css"
href="mystyle.css">
<link rel="stylesheet" type="text/css"
href="mystyle.css">
D.
<link rel="stylesheet" type="text/css"
src="mystyle.css">
<link rel="stylesheet" type="text/css"
src="mystyle.css">
Question No. - 13
Report Bug
Where in an HTML document is the correct place to refer to an external style sheet?
एक एक्सटरनल स्टाइल शीट को संदर्भित करने के लिए HTML दस्तावेज़ में सही जगह कहाँ है?
A.
In the <body> section
In the <body> section
B.
At the end of the document
At the end of the document
C.
In the <head> section
In the <head> section
D.
Any Where in a Page
Any Where in a Page
Question No. - 14
Report Bug
Which HTML tag is used to define an internal style sheet?
A.
<css>
<css>
B.
<style>
<style>
C.
<script>
<script>
D.
<link>
<link>
Question No. - 15
Report Bug
Which is the correct CSS syntax?
A.
{body;color:black;}
{body;color:black;}
B.
{body:color=black;}
{body:color=black;}
C.
body {color: black;}
body {color: black;}
D.
body:color=black;
body:color=black;
Question No. - 16
Report Bug
How do you insert a comment in a CSS file?
A.
// this is a comment //
// this is a comment //
B.
// this is a comment
// this is a comment
C.
' this is a comment
' this is a comment
D.
/* this is a comment */
/* this is a comment */
Question No. - 17
Report Bug
Which CSS property is used to change the background color?
बैकग्राउंड का रंग बदलने के लिए किस गुण का उपयोग किया जाता है?
A.
color
color
B.
background-color
background-color
C.
bgcolor
bgcolor
D.
None Of These
None Of These
Question No. - 18
Report Bug
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. - 19
Report Bug
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
All of These
Question No. - 20
Report Bug
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
Previous
1
2
3
4
5
6
7
8
Next
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 NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Website development Company in Allahabad