CSS Quiz B1

CSS Quiz B1

Professional Development

10 Qs

quiz-placeholder

Similar activities

Frontend Development Quiz

Frontend Development Quiz

Professional Development

10 Qs

HTML Basics

HTML Basics

Professional Development

14 Qs

HTML Basics

HTML Basics

Professional Development

13 Qs

H-I-L-O

H-I-L-O

Professional Development

15 Qs

LUYỆN TẬP BÀI 1

LUYỆN TẬP BÀI 1

Professional Development

10 Qs

Day - 3

Day - 3

Professional Development

10 Qs

KS LAT 07 Sept 2020 (Eko & Tara)

KS LAT 07 Sept 2020 (Eko & Tara)

Professional Development

10 Qs

Basic HTML Tags

Basic HTML Tags

Professional Development

15 Qs

CSS Quiz B1

CSS Quiz B1

Assessment

Quiz

Other

Professional Development

Hard

Created by

Vengatesh vengatesh

FREE Resource

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

<style> ________

{ _____red; }

</style>

<body>

<h1>This is a heading</h1>

<p>This is a paragraph</p>

<p class="colortext">This is a paragraph</p>

<p class="colortext">This is a paragraph</p> </body>

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Add an external style sheet with the URL: "mystyle.css".

<head>_______________ </head> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Set "paper.gif" as the background image of the page.

<style> body { _______ : __________ ; }

</style>

<body> <h1>This is a heading</h1>

<p>This is a paragraph</p>

<p>This is a paragraph</p> </body>

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Use the correct background property to make the background image NOT scroll with the rest of the page

<style>

body { background-image: url("img_tree.png"); __________:_____ ; } </style>

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Use the correct border property to set the LEFT border to "dotted".

<style> p { _______ : dotted; } </style> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Use the shorthand margin property to add 20 pixels top and bottom margins, and 40 pixels left and right margins, on the <h1> element.

<style> h1 { margin: ________ ; } </style>

<body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Set the padding of all sides of the <h1> element to 30 pixels.

<style> h1 {_________ : 30px; } </style> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body>

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?