wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

X Web

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

CSS stands for

a)

Cascade Sheets Style

b)

Color Style Sheets

c)

Cascading Style Sheets

d)

Cascade Style Sheet

2.

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

a)

<!DOCTYPE html>

b)

<style>

c)

<css>

3.

. Which of the following CSS selectors are used to specify a group of elements?

a)

tag

b)

id

c)

class

d)

both a and c

4.

In CSS, what does h1 can be called as

a)

Attribute

b)

Selector

c)

Value

5.

What will be the output of following CSS code snippet?

h1 {color: "green";}

a)

heading becomes dark-green

b)

heading becomes green

c)

nothings happen

6.

In css, “color:red” can be called as

a)

Declaration

b)

Value

c)

Selector

7.

The HTML attribute used to define the internal stylesheet is -

a)

style

b)

<style>

8.

The HTML attribute used to define the inline styles is -

a)

style

b)

styles

c)

class

9.

Are the negative values allowed in padding property?

a)

yes

b)

no

10.

Which of the following is the correct syntax to make the background-color of all paragraph elements to yellow?

a)

p {background-color : #yellow;}

b)

p {background-color : yellow;}

c)

all {background-color : yellow;}