Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

css L2

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

Selector of ID

a)

.

b)

#

c)

+

d)

-

2.

Selector of Class

a)

.

b)

#

c)

+

d)

-

3.

comment in css ?!

a)

/*comment*/

b)

<!--comment-->

c)

*/comment/*

d)

/*comment/*

4.

used to create space around elements, outside of any defined borders

a)

padding

b)

margin

c)

border

d)

outline

5.

properties are used to generate space around an element's content, inside of any defined borders.

a)

padding

b)

margin

c)

border

d)

outline

6.

padding: 25px 50px 75px 100px this mean

a)
  • top is 25px

  • right is 50px

  • bottom is 75px

  • left is 100px

b)
  • bottom is 25px

  • right is 50px

  • top is 75px

  • left is 100px

c)
  • left is 25px

  • right is 50px

  • bottom is 75px

  • top is 100px

d)
  • top is 25px

  • left is 50px

  • bottom is 75px

  • right is 100px

7.

type of css code

a)

internal

b)

external

c)

all

8.

<style>

body{

.background:url("3.png") no-repeat right top;

}

</style>

a)

الكود صح

b)

الكود خطأ

9.

<style>

body{

#background:url("3.png") no-repeat right top;

}

</style>

a)

الكود صح

b)

الكود خطأ

10.

<style>

border-style:dotted dashed solid double;

}

</style>

a)

الكود صح

b)

الكود خطأ

11.

<style>

body{

background:url("3.png") no-repeat right top;

}

</style>

a)

الكود صح

b)

الكود خطأ

12.

<style>

border-style:dotted dashed solid double

</style>

a)

الكود صح

b)

الكود خطأ