Search Header Logo

CSS - test

Authored by BSCS-2024-067 Haris Yousaf

Computers

1st - 5th Grade

Used 14+ times

CSS - test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

81 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 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

1 min • 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

1 min • 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

1 min • 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

1 min • 1 pt

What symbols go around the properties for each CSS selector?

< >
[ ]
{ }
( )

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which CSS code is incorrect?

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

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?