แบบทดสอบก่อนเรียน เรื่อง การตกแต่งเว็บไซต์ด้วย CSS
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Hard
KruArt SonCom
Used 7+ times
FREE Resource
Enhance your content in a minute
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
PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4
Quiz
•
9th - 12th Grade
13 questions
Algoritmos y Decisiones
Quiz
•
11th Grade
11 questions
AP CSP Review 11Q
Quiz
•
10th - 12th Grade
11 questions
Access
Quiz
•
10th Grade - University
15 questions
tik kelas 7
Quiz
•
1st Grade - University
10 questions
Parcial-Dibujo
Quiz
•
12th Grade
9 questions
Internet Protocols
Quiz
•
10th - 11th Grade
15 questions
Dasar Desain Grafis
Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
