Menu mobile
Home
PYTHON
Python Tutorial
Program Example
Interview Questions
JAVA
Java Tutorial
Program Example
Interview Questions
C Language
C Tutorial
Program Example
Interview Questions
Web Design
HTML
CSS
Java Script
PHP
Assignment
MS Office
HTML
CSS
Java Script
QUIZ ON : CSS - SYNTAX
SYNTAX
00:00:00
English
Hindi
Question No# :
01
out of 21
In how many ways can CSS be written in?
In how many ways can CSS be written in?
A.
2
2
B.
3
3
C.
4
4
D.
5
5
Question No# :
02
out of 21
Which is the correct CSS syntax written inside the style tag?
Which is the correct CSS syntax written inside the style tag?
A.
body { font-size: 20px; }
body { font-size: 20px; }
B.
body { font-size= 20px };
body { font-size= 20px };
C.
body:{ font-size: 20px; }
body:{ font-size: 20px; }
D.
body:{ font-size= 20px; }
body:{ font-size= 20px; }
Question No# :
03
out of 21
What type of CSS is the following code snippet? <h1 style="color:blue;">A Blue Heading</h1>
What type of CSS is the following code snippet? <h1 style="color:blue;">A Blue Heading</h1>
A.
External CSS
External CSS
B.
Internal CSS
Internal CSS
C.
Inline CSS
Inline CSS
D.
None of these
None of these
Question No# :
04
out of 21
Name the syntax of declaring a CSS rule is:
CSS नियम घोषित करने के सिंटैक्स का नाम है:
A.
property-name=value
प्रॉपर्टी-नेम=वैल्यू
B.
property-name : value
प्रॉपर्टी-नेम:वैल्यू
C.
property-name= value
प्रॉपर्टी-नेम=वैल्यू
D.
property-name:value;
प्रॉपर्टी-नेम:वैल्यू
Question No# :
05
out of 21
What this code will happen: <p style="color:blue">text</p>
यह कोड क्या होगा: <p style="color:blue">text</p>
A.
to make that specific paragraph blue
उस स्पेसिफ़िक पैराग्राफ को नीला बनाने के लिए
B.
Error
एरर
C.
nothing happen
कुछ नहीं होगा
D.
None of the above
इनमे से कोई भी नहीं
Question No# :
06
out of 21
The external style sheet may be written in any text editor but must be saved with a .css extension.
The external style sheet may be written in any text editor but must be saved with a .css extension.
A.
TRUE
B.
FALSE
Question No# :
07
out of 21
Which tag is used to link an external style sheet to a webpage?
बाहरी स्टाइल शीट को वेबपेज से जोड़ने के लिए किस टैग का उपयोग किया जाता है?
A.
Link tag
लिंक टैग
B.
Style tag
स्टाइल टैग
C.
Script tag
स्क्रिप्ट टैग
D.
@media
@मीडिया
Question No# :
08
out of 21
Which HTML tag is used to define an internal style sheet?
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# :
09
out of 21
Styles that are placed within style tag are called as:
स्टाइल टैग के भीतर रखी जाने वाली शैलियाँ कहलाती हैं:
A.
External styles
बाहरी शैलियाँ
B.
Inline styles
इनलाइन शैलियाँ
C.
Embedded styles
एंबेडेड शैलियाँ
D.
Html styles
एचटीएमएल शैलियाँ
Question No# :
10
out of 21
What are the two segments of a style tag?
स्टाइल टैग के दो खंड कौन से हैं?
A.
Selector and property
चयनकर्ता और संपत्ति
B.
Name and content
नाम और सामग्री
C.
Head section and body section
हेड सेक्शन और बॉडी सेक्शन
D.
None
कोई भी नहीं
Question No# :
11
out of 21
How can we write comments in CSS?
How can we write comments in CSS?
A.
/* Comment */
/* Comment */
B.
// Comment
// Comment
C.
# Coment
# Coment
D.
All of the above
All of the above
Question No# :
12
out of 21
Which of the following HTML attribute is used to define inline styles?
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# :
13
out of 21
Which HTML tag is used to declare internal CSS?
Which HTML tag is used to declare internal CSS?
A.
<style>
<style>
B.
<link>
<link>
C.
<script>
<script>
D.
None of these
None of these
Question No# :
14
out of 21
Inline CSS is used to apply CSS on multiple lines or elements
Inline CSS is used to apply CSS on multiple lines or elements
A.
TRUE
B.
FALSE
Question No# :
15
out of 21
Which is the correct CSS syntax?
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
out of 21
Which of the following represents an internal style sheet?
Which of the following represents an internal style sheet?
A.
style=”tag{property:value;}”
style=”tag{property:value;}”
B.
<style> tag{property: value;} </style>
<style> tag{property: value;} </style>
C.
css=”tag{property=value;}”
css=”tag{property=value;}”
D.
<style> tag{property=value;} </style>
<style> tag{property=value;} </style>
Question No# :
17
out of 21
What type of CSS is generally recommended for designing large web pages?
What type of CSS is generally recommended for designing large web pages?
A.
Inline
Inline
B.
Internal
Internal
C.
External
External
D.
None of These
None of These
Question No# :
18
out of 21
How do you insert a comment in a CSS file?
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# :
19
out of 21
Where in an HTML document is the correct place to refer to an external style sheet?
Where in an HTML document is the correct place to refer to an external style sheet?
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# :
20
out of 21
Which tag is used to contain content that is related to the primary content of the webpage, but isn't the primary content of the page.
Which tag is used to contain content that is related to the primary content of the webpage, but isn't the primary content of the page.
A.
header
header
B.
footer
footer
C.
nav
nav
D.
aside
aside
Question No# :
21
out of 21
What is the correct HTML for referring to an external style sheet?
What is the correct HTML for referring to an external style sheet?
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">
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