CSS Day 8 Quiz

CSS Day 8 Quiz

University

10 Qs

quiz-placeholder

Similar activities

test

test

University

15 Qs

CSS

CSS

1st Grade - Professional Development

15 Qs

Web Development Quiz

Web Development Quiz

University

15 Qs

Day - 3 Workshop quiz

Day - 3 Workshop quiz

University

15 Qs

HTML, CSS QUIZ

HTML, CSS QUIZ

University

10 Qs

CSS Layouts Flexbox

CSS Layouts Flexbox

University

11 Qs

CSS Box Model

CSS Box Model

University

10 Qs

Frontend batch Quiz- 1

Frontend batch Quiz- 1

University

9 Qs

CSS Day 8 Quiz

CSS Day 8 Quiz

Assessment

Quiz

Other

University

Medium

Created by

Abdul Roshan

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values are accepted by the float Property?

a) Right

b) Left

c) None

d) All the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax of CSS Float Property ?

a) div.box2{

border: 5px solid red;

background-color: greenyellow;

}

b) div.box2 {

float: none;

background-color: greenyellow;

}

c) div.box2 {

height: 200px;

width: 50%;

background-color: powderblue;

}

d) div.box2{

padding-top: 50px;

padding-right: 30px;

}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following property is used to control the behavior of floating elements?

a) format

b) clean

c) clear

d) remove

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following option is correct for image shown above ?

a) img {

float: left;

width: 100px;

height: 120px;

}

b) img {

float: none;

width: 100px;

height: 120px;

}

c) img {

float: right;

width: 100px;

height: 120px;

}

d) img {

width: 100px;

height: 120px;

}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following CSS Property controls how an element is positioned?

a) position

b) set

c) static

d) fix

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

There are how many position values?

a) 3

b) 6

c) 5

d) 4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the CSS position property control ?

a) The alignment of text within an element

b) The position of an element within its containing element

c) The color of the text within an element

d) The size of the element

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?