Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz 2 (CSS -1)

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

<p class="center ">Coders</p>

paraqrafı üfüqi xətt üzrə necə ortalıya bilərik?

a)

.center{

text-indent:center;

}

b)

#center{

text-align:center;

}

c)

center{

vertical-align:center;

}

d)

.center{

text-align:center;

}

2.

Hansı selektor vasitəsi ilə mətnin şriftini (font) dəyişmək olar?

a)

font-size

b)

font-family

c)

text-decaration

d)

text-align

3.

CSS nə deməkdir?

a)

Cascading Style Sheets

b)

Creative Style Sheets

c)

Computer Style Sheets

d)

Colorful Style Sheets

4.

Xarici (external) CSS-ə istinad etmək üçün düzgün HTML nədir?

a)

<link rel="stylesheet" type="text/css" href="mystyle.css">

b)

<stylesheet>mystyle.css</stylesheet>

c)

<style src="mystyle.css">

d)

<style href="mystyle.css">

5.

Xarici (external) CSS-ə istinad etmək üçün HTML sənədində düzgün yer haradadır?

a)

<head></head>

b)

<body></body>

c)

<meta></meta>

d)

<title></title>

6.

Daxili (internal) CSS yazmaq üçün hansı HTML teqindən istifadə olunur?

a)

<css>

b)

<style>

c)

<script>

d)

<internal>

7.

Düzgün CSS sintaksisi hansıdır?

a)

{body;color:black;}

b)

body {color: black;}

c)

body:color=black;

d)

{body:color=black;}

8.

CSS faylına şərhi necə daxil etmək olar?

a)

// this is a comment

b)

' this is a comment

c)

/* this is a comment */

d)

// this is a comment //

9.

Arxa fon rəngini dəyişmək üçün hansı xüsusiyyətdən (property) istifadə olunur?

a)

color

b)

background-color

c)

bgcolor

d)

color-background

10.

Bütün <h1> elementlərinin fon rəngini necə dəyişmək olar?

a)

h1 {background-color:#FFF;}

b)

all.h1 {background-color:#FFF;}

c)

h1.all {background-color:#FFF;}

d)

{h1-background-color:#FFF;}

11.

Elementin mətn rəngini dəyişmək üçün hansı CSS xüsusiyyətdən (property) istifadə olunur?

a)

color

b)

text-color

c)

fgcolor

d)

color-text

12.

Hansı CSS xüsusiyyəti (property) mətn ölçüsünü dəyişə bilər?

a)

text-size

b)

font-size

c)

text-style

d)

font-style

13.

Bütün <p> elementlərini qalın etmək üçün düzgün CSS sintaksisi hansıdır?

a)

p {text-size:bold;}

b)

p {font-weight:bold;}

c)

<p style="font-size:bold;">

d)

<p style="text-size:bold;">

14.

Hiperlinkləri alt xətt olmadan necə göstərmək olar?

a)

a {text-decoration:no-underline;}

b)

a {text-decoration:none;}

c)

a {underline:none;}

d)

a {decoration:no-underline;}

15.

Mətndə bütün sözlərin ilk hərflərini böyük yazılmasını necə etmək olar?

a)

transform:capitalize

b)

text-style:capitalize

c)

text-transform:capitalize

d)

text:capitalize

16.

Mətni necə qalın etmək olar?

a)

style: bold;

b)

font: bold;

c)

font-weight: bold;

d)

text: bold

17.

Bu cür sərhəd qalınlıqlarını (border-width) necə göstərmək olar:

Üst sərhəd (top border) = 10 px

Aşağı sərhəd (bottom border) = 5 px

Sol sərhəd (left border) = 20 px

Sağ sərhəd (right border) = 1 px

a)

border-width:10px 5px 20px 1px;

b)

border-width:10px 20px 5px 1px;

c)

border-width:10px 1px 5px 20px;

d)

border-width:5px 20px 10px 1px;

18.

İd-si 'demo' olan elementi necə seçirsiniz?

a)

#demo

b)

*demo

c)

.demo

d)

demo

19.

Div elementi daxilində olan, bütün p elementlərini necə seçirsiniz?

a)

div + p

b)

div p

c)

div.p

d)

div#p

20.

Mövqe xüsusiyyətinin (position property) standart (default) dəyəri nədir?

a)

absolute

b)

relative

c)

fixed

d)

static