Search Header Logo

CSS Quiz 5

Authored by Preston Rowland

Computers

9th - 12th Grade

Used 8+ times

CSS Quiz 5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

The !important rule in CSS is used to add more importance to a property/value than normal.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

In CSS _ is known as the universal selector.

!

@

#

*

%

Answer explanation

The asterisk * is known as the universal selector.

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the following has the higher specificity?

A: h1

B: h1#content

C: <h1 id="content" style="color: pink;">Heading</h1>

D: !specific

A: h1

B: h1#content

C: <h1 id="content" >Heading</h1>

D: !specific

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

If there are two or more CSS rules that point to the same element, the selector with the highest specificity value will "win", and its style declaration will be applied to that HTML element.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

______ is a number followed by a length unit, such as 10px, 2em, etc.

Length

Depth

Width

Height

6.

FILL IN THE BLANK QUESTION

1 min • 10 pts

There are two types of length units: absolute and ________.

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which type of brackets or braces do you place internal and external CSS declarations inside.

< >

[ ]

{ }

\ \

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?