Thuộc tính line-height trong CSS có tác dụng gì?

Tin Học cuối kỳ part 2

Quiz
•
Bảo Long
•
Information Technology (IT)
•
12th Grade
•
2 plays
•
Easy
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Điều chỉnh khoảng cách giữa các dòng văn bản.
Căn chỉnh văn bản sang trái, phải hoặc giữa.
Gạch chân hoặc kẻ ngang văn bản.
Thay đổi kích thước của phông chữ.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Bạn muốn thiết lập văn bản trong phần tử
có kiểu chữ là "Tahoma", màu sắc là trắng, kích thước chữ là 13cm và khoảng cách giữa các dòng là 1.3. Mã CSS nào sau đây sẽ thực hiện đúng yêu cầu này?
p{font-family:Tahoma; font-color:white;font-size:13;line-spacing:1.3;}
p{font-family:Tahoma; color:white;font-size:13cm;line-height:1.3;}
p{font-family:Tahoma; text-color:white;font-size:13cm;line-height:1.3;}
p{font-family:"Tahoma";color:white; size:13cm;line-height:1.3;}
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Khi muốn áp dụng một kiểu CSS cho tất cả các phần tử <h1> nằm trong một phần tử
<div>, bạn sẽ sử dụng bộ chọn nào } đây?
div h1{color:red;}
div>h1{color:red;}
h1 div{color:red;}
div+h1{color:red;}
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để thiết lập một khung viền xung quanh một phần tử HTML với màu xanh lá cây và độ dày 3px, bạn sử dụng đoạn mã CSS nào?
border:3px solid green;
border:3px dotted blue;
border-color:green;border-width:3px;
border:3px dashed yellow;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để tạo một phần tử với đường viền màu xanh lá cây, độ dày 2px và kiểu đường viền là nét đứt, bạn cần sử dụng mã CSS nào?
border:2px dotted green;
border:2px dashed green;
border:2px solid green;
border:3px solid green;
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Muốn các tiêu đề cấp 2 (<h2>) có font chữ "Time New Roman", cỡ chữ là 24px, màu sắc là xanh dương và có khoảng cách giữa các chữ là 2px. Mã CSS nào sau đây sẽ thực hiện điều này?
h2{font-family:TimeNewRoman;font-size:24px;text-color:blue;letter-spacing:2px;}
h2{font-family:"TimeNewRoman";font-size:24px;color:blue;letter-spacing:2px;}
h2{font-family:"TimeNewRoman";font-size:24px;color:blue;text-spacing:2px;}
h2{font-family:"TimeNewRoman";font-size:24;color:blue;letter-spacing:2;}
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để thay đổi màu chữ của phần tử thành màu xanh lá cây sử dụng mã RGB sử dụng cú pháp nào?
background-color:rgb(0,255,0)
color:rgb(0,255,255);
color:rgb(0,255,0);
color:rgb(0,255,0,0.5);
Explore all questions with a free account
Similar Resources on Quizizz
50 questions
Data Science-Spreadsheet Functions

Quiz
•
12th Grade
42 questions
ÔN TẬP CUỐI KỲ 2_ TIN 12

Quiz
•
12th Grade
50 questions
AMBK MA TIK 2025

Quiz
•
12th Grade
45 questions
SAS GANJIL INFORMATIKA KELAS 7 TAHUN 2024-2025

Quiz
•
7th Grade - University
50 questions
Tin GHK2-12

Quiz
•
12th Grade
42 questions
Tin Học Cuối Kỳ 1

Quiz
•
12th Grade
50 questions
STS PBO Genap 2025

Quiz
•
12th Grade
48 questions
Tin GK2

Quiz
•
12th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Information Technology (IT)
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
15 questions
Central Tendency

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade