HTML, CSS and JavaScript

HTML, CSS and JavaScript

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Alex Zaldivar

Used 32+ times

FREE Resource

Student preview

quiz-placeholder

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to have more than one property for a CSS selector, what character separates them?

comma (,)
semi-colon (;)
colon (:)
dash (-)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where in the HTML document is the correct location to insert code to link to your external CSS? 

In the <head> section
In the <body> section
At the very end of the document
At the very beginning of the document

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is correct CSS syntax? 

{ body; color=black;}
body: color= black
body {color:black;}
(body color is black) 

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the code below that uses CSS to configure a background color of #000000 for a web page.

body { background-color: #000000; }
body { bgcolor: #000000; }
document { background­-page: #000000; }
None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to format a Font Family for a paragraph?

p { font-face: Arial; }
p { family-font: Arial; }
p { font-family: Arial; }
p { font: Arial; }

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbols go around the properties for each CSS selector?

< >
[ ]
{ }
( )

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS code is incorrect?

a {color: blue;}
p {font-size: 10px;}
body {background-color="red";}
img {width: 100%;}

Create a free account and access millions of resources

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?

Discover more resources for Computers