Border, Margin, and Padding Quiz

Border, Margin, and Padding Quiz

Professional Development

5 Qs

quiz-placeholder

Similar activities

JQuery

JQuery

Professional Development

10 Qs

05 HTML/CSS Vertiefung

05 HTML/CSS Vertiefung

Professional Development

10 Qs

Semangat Belajar

Semangat Belajar

Professional Development

10 Qs

ILT #1 Web Basic

ILT #1 Web Basic

Professional Development

10 Qs

Flutter III

Flutter III

Professional Development

8 Qs

Intro to HTML, CSS, JS

Intro to HTML, CSS, JS

Professional Development

10 Qs

SASS, CSS Animation, RWD

SASS, CSS Animation, RWD

Professional Development

10 Qs

CSS Selectors

CSS Selectors

Professional Development

10 Qs

Border, Margin, and Padding Quiz

Border, Margin, and Padding Quiz

Assessment

Quiz

Computers

Professional Development

Medium

Created by

ishami gaelle

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the margin property do in CSS?

It adds space between the border and the content inside the element.

It adds space between the element and other elements around it.

It adds a border around the element.

It changes the size of the element.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which inline CSS correctly applies a border to an element?

border: 2px solid black

border-width: 2px

border-color: black

border-style: black

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the padding property control in CSS?

The space between the border and the content inside an element.

The space between the element and other elements around it.

The thickness of the border.

The alignment of the text.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you set a margin of 10px on all sides of an element using inline CSS?

padding: 10px

margin: 10px

border: 10px

spacing: 10px

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which property adds space only to the top of an element?

padding-top: 20px

margin-top: 20px

Both A and B

None of the above