wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Shohjahon

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

HTMLda sahifaning asosiy tarkibini bildiruvchi semantik tegi qaysi?

a)

<div>

b)

<main>

c)

<section>

d)

<article>

2.

Rasm uchun muqobil matn (alt) qaysi atribut bilan beriladi?

a)

alt

b)

title

c)

aria-label

d)

desc

3.

<label> elementi qaysi atribut orqali formadagi aniq input bilan bog‘lanadi?

a)

bind

b)

name

c)

for

d)

id

4.

HTMLda tashqi CSS faylini ulash uchun to‘g‘ri yozuv qaysi?

a)

<style src="style.css">

b)

<link rel="stylesheet" href="style.css">

c)

<script href="style.css"></script>

d)

<css link="style.css">

5.

CSSda barcha <p> ichidagi <a> elementlarini tanlash selektori qaysi?

a)

p + a

b)

p > a

c)

p a

d)

a p

6.

CSSda margin: 10px 20px 30px 40px; tartibi qaysi tomondan boshlanadi?

a)

chap, yuqori, o‘ng, past

b)

o‘ng, past, chap, yuqori

c)

yuqori, chap, past, o‘ng

d)

yuqori, o‘ng, past, chap

7.

Flex konteynerni yoqish uchun qaysi xossadan foydalaniladi?

a)

display: inline;

b)

position: flex;

c)

display: flex;

d)

flex: container;

8.

Flex elementlarni asosiy o‘q bo‘yicha markazga tekislash xossasi qaysi?

a)

align-items: center;

b)

justify-content: center;

c)

text-align: center;

d)

place-items: center;

9.

CSSda elementning haqiqiy kontent maydoni, padding, border va margin qaysi tartibda joylashadi?

a)

margin → border → padding → content

b)

padding → content → margin → border

c)

content → padding → border → margin

d)

border → content → padding → margin

10.

Rasmni responsiv qilish uchun to‘g‘ri yozuv qaysi?

a)

img { min-width: 100%; height: auto; }

b)

img { max-width: 100%; height: auto; }

c)

img { width: 100%; height: 100%; }

d)

img { width: auto; height: 100%; }