wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CSS 3

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

If we want define style for an unique element, then which css selector will we use ?

a)

id

b)

class

c)

tag

d)

name

2.

Can we align a Block element by setting the left and right margins ?

a)

yes, we can

b)

not possible

3.

If we want to wrap a block of text around an image, which css property will we use ?

a)

wrap

b)

align

c)

float

4.

Which of the following selector selects the elements that are checked?

a)

E ~ F

b)

::after

c)

:checked

5.

If we want to show an Arrow as cursor, then which value we will use ?

a)

pointer

b)

default

c)

arrow

d)

arr

6.

Which element is used in the <HEAD> section on an HTML page, if we want to use an external style sheet file to decorate the page ?

a)

<src>

b)

<link>

c)

<style>

d)

<css>

7.

Which attribute can be added to many HTML elements to identify them as a member of a specific group ?

a)

id

b)

div

c)

class

d)

span

8.

When we write <img src="img.png">, what "img.png" inside double quote implies?

a)

element

b)

attribute

c)

value

d)

operator

9.

Which CSS property is used to control the text size of an element ?

a)

font-style

b)

text-size

c)

font-size

d)

text-style

10.

The default value of "position" attribute is _________.

a)

fixed

b)

absolute

c)

sticky

d)

relative

11.

What is the correct syntax to change the background color with css?

a)

background-color: purple;

b)

background-color = "purple";

c)

backgroundcolor=orange

d)

change-background-color: purple

12.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

13.

What tag do you use to make a numbered list?

a)

<list>

b)

<ol>

c)

<li>

d)

<ul>

14.

How do you change the font color with CSS?

a)

font-color: green;

b)

color: green;

c)

change-font-color: green;

d)

fontcolor=green;