CSS Selector Practice

CSS Selector Practice

10th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Web Design and Development N5

Web Design and Development N5

10th Grade

17 Qs

Advanced HTML and CSS

Advanced HTML and CSS

9th - 12th Grade

15 Qs

Bootstrap Unit Review

Bootstrap Unit Review

9th - 12th Grade

15 Qs

HLML

HLML

3rd - 12th Grade

18 Qs

CIW Advanced HTML

CIW Advanced HTML

9th - 12th Grade

15 Qs

HTML CSS Links

HTML CSS Links

9th - 12th Grade

15 Qs

Bootstrap Components

Bootstrap Components

9th - 12th Grade

13 Qs

CSS Selector Practice

CSS Selector Practice

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Tim Helland

Used 210+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these will select all table cells on a page?

TABLE.cell

TD

TH

TD, TH

TABLE:all-cells

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If there are no code errors, which of these can only select one element from a page?

#blue

.blue

P.blue

H1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these selects all page elements?

#

.

*

&

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these would select all of the hyperlinks on a page? (choose all that apply)

[href]

a

#href

link

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these will select all paragraphs that are inside of a div element?

div p

p div

p > div

div > p

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these selects any image where class="logo"?

logo.img

img.logo

#logo

img logo

img > logo

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these requires <div> to be an immediate child of another <div>?

div > div

div, div

div div

div ~ div

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?