Google News
logo
CSS - Quiz(MCQ)
1 .
What does CSS stand for?
A)
Creating Style Sheets
B)
Computer Style Sheets
C)
Cascading Style Sheets
D)
Colorful Style Sheets

Correct Answer : Option (C) :   Cascading Style Sheets

2 .
Which year W3C was developed in CSS1?
A)
1990
B)
1992
C)
1994
D)
1996

Correct Answer : Option (D) :   1996

3 .
How many types of levels in style sheets ?
A)
One level
B)
two levels
C)
three levels
D)
four levels

Correct Answer : Option (C) :   three levels

4 .
From which version of CSS under development since the late 1990s, added a lot of extra features ?
A)
CSS1
B)
CSS2
C)
CSS3
D)
None of the above

Correct Answer : Option (C) :   CSS3

5 .
What is the correct HTML for referring to an external style sheet?
A)
<stylesheet>style.css</stylesheet>
B)
<link rel="stylesheet" type="text/css" href="style.css">
C)
<style src="style.css">
D)
<a href="style.css"></a>

Correct Answer : Option (B) :  

<link rel="stylesheet" type="text/css" href="style.css">

6 .
An external style sheet is ideal when the style is applied to
A)
single page
B)
few pages
C)
many pages
D)
None of the above

Correct Answer : Option (C) :   many pages

7 .
Where in an HTML document is the correct place to refer to an external style sheet?
A)
<head> section
B)
<body> section
C)
<section> section
D)
<footer> section

Correct Answer : Option (A) :  

<head> section

8 .
How do you insert a comment in a CSS file?
A)
// this is a css comment
B)
<!-- this is a css comment -->
C)
// this is a css comment //
D)
/* this is a css comment */

Correct Answer : Option (D) :  

/* this is a css comment */

9 .
Which HTML tag is used to define an internal style sheet?
A)
<script>
B)
<css>
C)
<style>
D)
<link>

Correct Answer : Option (C) :  

<style>

10 .
Which is the correct CSS syntax?
A)
 body:color=blue;
B)
body {color: blue;}
C)
{body:color=blue;}
D)
{body;color:blue;}

Correct Answer : Option (B) :  

body {color: blue;}