HTML CSS 1

HTML CSS 1

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

CSS ID vs. Class

CSS ID vs. Class

9th - 12th Grade

15 Qs

GAME QUIZ

GAME QUIZ

11th - 12th Grade

10 Qs

FA 6

FA 6

9th - 12th Grade

15 Qs

PWPB 1

PWPB 1

11th Grade

15 Qs

Kuis Pemrograman Web dan Perangkat Bergerak 11

Kuis Pemrograman Web dan Perangkat Bergerak 11

11th Grade

15 Qs

HTML and CSS

HTML and CSS

9th - 10th Grade

12 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

CSS Rules Quiz-unit 4 CodeHS

CSS Rules Quiz-unit 4 CodeHS

7th Grade - University

7 Qs

HTML CSS 1

HTML CSS 1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Preston Rowland

Used 41+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The correct internal CSS to set the background color of the document (body) to yellow.

<head>

<style>

body {background-color :yellow;}

</style>

</head>

<head>

body= "bg color:yellow;"

</head>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use CSS to set the font of the document to "courier".

<head>

font-type {Courier}

</head>

<style>

body {font-family:courier;}

</style>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use CSS to set the text color of the document to red.

<style>

body {color:red;}

</style>

<style>

text {"color=red"}

</style>

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use CSS to make a yellow, 1 pixel thick, border around all paragraphs.

body {border-color=yellow}

p {border:1px solid yellow;}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the HTML style attribute for inline styling.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the HTML <style> element to define external CSS

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Use the HTML <link> element to refer to an external CSS file.

True

False

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?