IDs and Classes

IDs and Classes

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

HTML

HTML

9th Grade

15 Qs

Bài 16 Định dạng khung

Bài 16 Định dạng khung

12th Grade - University

13 Qs

Warmup quiz

Warmup quiz

12th Grade

15 Qs

HTML Quiz-1

HTML Quiz-1

6th - 12th Grade

10 Qs

Javascript Quiz 1

Javascript Quiz 1

11th Grade

15 Qs

Advanced HTML and CSS

Advanced HTML and CSS

9th - 12th Grade

15 Qs

HTML/CSS Coding Test Pt2

HTML/CSS Coding Test Pt2

7th - 9th Grade

13 Qs

BTEC L2 Unit 1 Online World 1-8

BTEC L2 Unit 1 Online World 1-8

11th - 12th Grade

15 Qs

IDs and Classes

IDs and Classes

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jimmy Fikes

Used 63+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The keyboard key to select the browser's address bar

F1

F6

F12

F8

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An element having the ID attribute of "green"

cannot be used since "green" is not a valid ID name

can be used only once in an HTML page

can be used more than once in an HTML page

will cause the element to have a background-color of green

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The CSS symbol for a class is

a period

an octathorpe

#

a comma

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The CSS symbol for an ID is

:

;

.

#

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add a class of "green" to a div element

<div id="green"></div>

<div class="green"></div>

<div></div class="green">

<div>class="green"</div>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To make a series of block-level elements display side-by-side instead of vertically

display: block;

display: inline-block;

display: circle;

display: wide;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Placing CSS style rules in the HEAD section of an HTML page is called ___ style rules.

Embedded

Inline

External

Efficient

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?