
Bài kiểm tra CSS và lập trình
Authored by Lê Quỳnh
Other
2nd Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Hoàn thành đoạn mã CSS để thêm đường viền cho phần tử button: button { background-color: #007BFF; color: #222; padding: 10px 20px; __(1)__ : 2px solid #0056b3; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); border-radius: 5px; }
2.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Hoàn thành đoạn mã CSS để đặt chiều rộng của hình ảnh bằng 100% chiều rộng của phần tử chứa nó:
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Hoàn thành đoạn mã CSS để thêm khoảng cách bên trong phần tử : .highlight { color: #00796b; font-weight: bold; _______: 2px 4px; background-color: #e0f2f1; border-radius: 3px; }
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Hoàn thành đoạn mã CSS sau để căn giữa văn bản trong phần tử <div class="box">:
.box { width: 300px; padding: 20px; background-color: #e0f7fa; border: 2px solid #00796b; text-align: ___(1)___; border-radius: 8px; }
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Hoàn thành đoạn mã CSS sau để căn giữa nội dung theo chiều ngang trong phần tử <div id="header">
: #header { width: 100%; height: 100px; background-color: #4caf50; color: #222; ___(1)___: center; line-height: 100px; }
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Hoàn thành đoạn mã CSS để thiết lập màu nền xám nhạt (#f0f0f0) cho phần tử <div class="container">:
: .container { width: 100%; padding: 20px; _____(1)_____ : #f0f0f0; text-align: left; border: 1px solid #ccc; }
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Hoàn thành đoạn mã để kiểm tra nếu có yêu cầu từ client: WiFiClient client = server.________(); if (!client) return; Serial.println("Client connected");
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?