wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSS Selectors

Total questions: 10

Worksheet time: 55secs

Name
Class
Date
1.

How many categories of CSS Selectors

a)

4

b)

3

c)

5

d)

2

2.

What CSS Selectors selects HTML elements based on the element name?

a)

CSS Class selector

b)

CSS Element Selector

c)

CSS ID Selector

d)

None of the above

3.

What CSS Selectors selects all HTML elements on the page?

a)

CSS Class selector

b)

CSS Element Selector

c)

CSS Universal Selector

d)

None of the above

4.

What CSS Selectors selects HTML elements with a specific attribute?

a)

CSS Class selector

b)

CSS Element Selector

c)

CSS Universal Selector

d)

None of the above

5.

What CSS Selectors that is written with hash (#) character?

a)

CSS Class selector

b)

CSS Element Selector

c)

CSS Universal Selector

d)

None of the above

6.

What method of CSS, that includes a reference a style sheet file inside a link.

a)

Inline CSS

b)

External CSS

c)

Internal CSS

d)

None of the above

7.

What part of CSS Categories that select elements based on a specific relationship between them

a)

Combinator selectors

b)

Simple selectors

c)

Attribute selectors

d)

None of the above

8.

What part of CSS Categories that select and style a part of an element

a)

Combinator selectors

b)

Simple selectors

c)

Attribute selectors

d)

Pseudo-elements selectors

9.

What part of CSS Categories that select elements based on attribute value?

a)

Combinator selectors

b)

Simple selectors

c)

Attribute selectors

d)

Pseudo-elements selectors

10.

A (a)   is used to find the HTML element you want to style.