Search Header Logo

Quiz 6 - CSS Color

Authored by Therese Gretzula

Computers

9th Grade

Used 348+ times

Quiz 6 - CSS Color
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS code is correct to change the text color of an h1 line to red?

h1{color:red;}

<h1 background-color:red;>

h1{background-color:red;}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS code is correct to change the background color of a web page to purple?

body{background-color:purple;}

<body style="background-color;purple;">

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS rule would be used to change the border to a dashed line?

border-style

border-width

border-color

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All CSS embedded code must be placed inside which tags?

style

body

CSS

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which line of code is correctly done for a comment?

<!--I love CSS code.-->

{I love CSS code.}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is correct code?

p{

color:blue

border width:5px

p{

color:blue;

border-width:5px;

}

p{

color:blue

border width:5px;

}

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?