IDs and Classes

IDs and Classes

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

HTML and CSS

HTML and CSS

9th - 10th Grade

12 Qs

5.3 ID The Elements - Inline, Block, Attribute

5.3 ID The Elements - Inline, Block, Attribute

9th - 12th Grade

12 Qs

CSS ID vs. Class

CSS ID vs. Class

9th - 12th Grade

15 Qs

QUIZ 1 SEM-II JACOB SMA KRISTEN BASIC BATAM 2023

QUIZ 1 SEM-II JACOB SMA KRISTEN BASIC BATAM 2023

10th Grade

15 Qs

CSS Rules Quiz-unit 4 CodeHS

CSS Rules Quiz-unit 4 CodeHS

7th Grade - University

7 Qs

HTML Iframe

HTML Iframe

11th Grade

9 Qs

مراجعة التطبيق الأول تقن 105

مراجعة التطبيق الأول تقن 105

12th Grade

12 Qs

CSS Selectors

CSS Selectors

9th - 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?