day 5

day 5

University

10 Qs

quiz-placeholder

Similar activities

Print Reading Unit 3

Print Reading Unit 3

University

12 Qs

CSS quiz

CSS quiz

University

10 Qs

FMT web developing session 4 HTML5 + CSS3

FMT web developing session 4 HTML5 + CSS3

KG - Professional Development

15 Qs

Quiz on HTML, CSS -1

Quiz on HTML, CSS -1

University

10 Qs

Quiz __ Day --7

Quiz __ Day --7

University

10 Qs

Creating Web Pages

Creating Web Pages

University

10 Qs

Day -5 Workshop Quiz

Day -5 Workshop Quiz

University

15 Qs

Java Script Pro

Java Script Pro

3rd Grade - University

12 Qs

day 5

day 5

Assessment

Quiz

Other

University

Hard

Created by

Abdul Roshan

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the CSS Box Model help in understanding?

Creating animation

Styling texts

More complex layouts and alignment of items

Writing Javascript code

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to set the content area height of an

element by default?

Width

Border

Padding

Height

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to set the height of a div element to 100

pixels?

div { border: 100px; }

div { height: 100px; }

div { padding: 100px; }

div { margin: 100px; }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the padding property in CSS?

To create an invisible space around the box

To set the content area height

To push the content away from the border

To set an element's border

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property controls the margin on all sides of an element?

Padding

Height

Border

Margin

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the display property 'inline' do to an element?

Makes the element always start on a new line

Makes the element take up as much space as possible

Does not make the element start on a new line

Makes the element use as much horizontal space as required

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you apply the display: block; property to an

element?

The element will take up as much horizontal space as possible

The element will not respect the width and height CSS properties

The element will start on a new line

The element will not start on a new line

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?