แบบทดสอบก่อนเรียน เรื่อง การตกแต่งเว็บไซต์ด้วย CSS
Quiz
•
Computers
•
10th - 12th Grade
•
Hard
KruArt SonCom
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
ข้อใดต่อไปนี้กล่าวถึง CSS ได้ถูกต้องที่สุด
CSS คือ คุณลักษณะที่ใช้ตกแต่งเอกสาร HTML ในลักษณะต่าง ๆ เช่น สี พื้นหลัง เส้นขอบ ขนาด โครงร่าง หรือตัวอักษร
CSS ประกอบด้วย Selector และ Property
CSS เป็นคำสั่งที่ใช้จัดรูปแบบเอกสารเว็บเพจในลักษณะต่าง ๆ เช่น สี พื้นหลัง เส้นขอบ ขนาด โครงร่าง หรือตัวอักษร
CSS ถูกพัฒนามาตั้งแต่ปี 1998 ปัจจุบันคือเวอร์ชันที่ 3
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
จากภาพไวยกรณ์ของ CSS จงเลือกคำตอบที่ตรงกับตัวเลข 1 2 และ 3 ตามลำดับ
1 คือ Selector
2 คือ Value
3 คือ Property
1 คือ Property
2 คือ Value
3 คือ Selector
1 คือ Property
2 คือ Selector
3 คือ Value
1 คือ Selector
2 คือ Property
3 คือ Value
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
หากต้องการกำหนดให้ <div> ในหน้าเอกสาร HTML มีข้อความสีเขียว จะต้องเขียนคำสั่ง CSS อย่างไร
div{
color: green;
}
div{
background-color: green;
}
div{
green: color;
}
div{
font: green;
}
4.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
จากโครงสร้าง CSS ต่อไปนี้
p{
_________: right;
}
หากต้องการกำหนดให้ข้อความของ <p> ในหน้าเอกสาร HTML อยู่ชิดขวาของหน้าเพจ นักเรียนควรเติม Property ของ CSS ใดในช่องว่าง _________
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
จากอิลิเมนต์ HTML ต่อไปนี้
<p class="red-text">การตกแต่งเว็บไซต์ด้วย CSS</p>
<p class="green-text">การตกแต่งเว็บไซต์ด้วย CSS</p>
<p class="blue-text">การตกแต่งเว็บไซต์ด้วย CSS</p>
หากต้องการกำหนดให้ข้อความใน <p> ที่มี class="blue-text" มีสีน้ำเงินและจัดตำแหน่งให้อยู่กึ่งกลาง โดยใช้ CSS Class selector จะเขียน CSS ได้อย่างไร
.bluetext p{
color: blue;
text-align: center;
}
.blue-text{
text-color: blue;
align: center;
}
p.blue-text{
color: blue;
text-align: center;
}
p.blue-text{
text-color: blue;
align: center;
}
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
จากอิลิเมนต์ HTML ต่อไปนี้
<div id="green">CSS class selector</div>
หากต้องการกำหนดให้ข้อความใน <div> มีสีเขียวและจัดตำแหน่งให้อยู่ชิดซ้าย จะเขียน CSS id selector ได้อย่างไร
.green{
text-color: green;
text-align: left;
}
#green{
color: green;
text-align: left;
}
.green{
text-color: green;
align: left;
}
#green{
text-color: green;
text-align: left;
}
7.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
ภาณุต้องการกำหนดให้ <div> มีพื้นหลังสีเหลือง นักเรียนลองช่วยภาณุเติมคำสั่ง CSS ต่อไปนี้ให้สมบูรณ์
div{
__1__: yellow;
}
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
kuis tools coreldraw
Quiz
•
10th Grade
10 questions
Quiz 3 โปรแกรมกราฟิกสำหรับผลิตสื่อดิจิทัล
Quiz
•
11th Grade
15 questions
File Handling in Python - Grade 12 CBSE
Quiz
•
12th Grade
15 questions
Pretest Aplikasi Pengolah Angka
Quiz
•
10th Grade
10 questions
ป.5 แบบทำสอบหลังเรียน เรืองข้อมูลและสารสนเทศ
Quiz
•
10th Grade
10 questions
ทบทวนเรื่องสูตรคำนวณในโปรแกรม Excel
Quiz
•
10th Grade
15 questions
FQCTEST
Quiz
•
10th Grade
10 questions
Canva เบื้องต้น
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
16 questions
Lesson 3.5 - If Structures Practice
Quiz
•
11th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
