wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to CSS

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

What is the full form of CSS ?

a)

Color and Style Sheets

b)

Coloured Special Sheets

c)

Cascading Style Sheets

d)

None of the above

2.

What is CSS?

a)

CSS is a style sheet language

b)

CSS is designed to separate the presentation and content, including layout, colors, and fonts

c)

CSS is the language used to style the HTML documents

d)

All of the mentioned

3.

Which of the following tag is used to embed css in html page?

a)

<css>

b)

<style>

c)

<!DOCTYPE html>

d)

<script>

4.

Which of the following CSS framework is used to create a responsive design?

a)

larawell

b)

bootstrap

c)

django

d)

rails

5.

What will be the output of following CSS code snippet?

h1 {color: "green";}

a)

heading becomes dark-green

b)

heading becomes green

c)

error occurs

d)

nothings happen

6.

Which of the following CSS style property is used to specify an italic text?

a)

font

b)

style

c)

font-style

d)

@font-face

7.

Which of the following property allows a marquee to be used in the case of a text-overflow?

a)

overflow-marquee

b)

overflow-style

c)

overflow-text

d)

none of the mentioned

8.

Which of the following CSS3 property can be used to allow line breaks within words?

a)

line-break

b)

line-wrap

c)

word-wrap

d)

word-break

9.

Which of the following CSS selector is used to specify a rule to bind a particular unique element?

a)

tag

b)

id

c)

class

d)

both class and tag

10.

How do you specify a CSS rule that applies only when the viewport width is less than a certain size?

a)

@viewport (max-width: size) { }

b)

@media (min-width: size) { }

c)

@media (max-width: size) { }

d)

@viewport (min-width: size) { }