wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

HTML Page Structure ประกอบด้วย tag ใดบ้าง

a)

<html>, <head>, <body>

b)

<html>, <table>, <li>

c)

<br>, <hr>, <body>

d)

<a>, <h1>, <h2>

2.

ถ้าต้องการให้ข้อมูลแสดงผลออกทาง Browser เราควรใส่ข้อมูลไว้ในส่วนใด

a)

<body>

b)

<head>

c)

<ul>

d)

<p>

3.

ถ้าต้องการใช้ หัวเรื่อง เราควรใช้ tag ใด.

a)

<p>

b)

<h1>

c)

<b>

d)

<i>

4.

ถ้าต้องการใช้ ตัวอักษร หรือ ข้อความปกติ เราควรใช้ tag ใด

a)

<br>

b)

<p>

c)

<em>

d)

<address>

5.

tag <a href="https://google.com">....</a>หมายความว่าอย่างไร

a)

Link ไปยังหน้า Google.com

b)

แสดงข้อความว่า Google.com

c)

สร้างตารางว่า Google.com

d)

Link ไปยังหน้า Youtube.com

6.

ถ้าค้องการใช้ รูปภาพ ให้แสดงบนหน้า Browser เราควรใช้ tag ใด

a)

<a>

b)

<img>

c)

<p>

d)

<igm>

7.

Html Elements หมายถึงข้อใด

a)

ตั้งแต่ start tag ไปจนถึง end tag เราจะเรียกว่า element

b)

ตั้งแต่ content ไปจนถึง end tag เราจะเรียกว่า element

c)

html และ Css เราจะเรียกว่า element

d)

ถูกทุกข้อ

8.

การซ้อนกันของ Elements จากรูป ถูกซ้อนกันอยู่กี่ Elements

a)

1

b)

2

c)

3

d)

4

9.

<a href="https://www.w3schools.com">eigkiv</a> ส่วนใดเรียกว่า Attributes

a)

<a>

b)

</a>

c)

eigkiv

d)

href=".........."

10.

ถ้าต้องการใช้ <a href="https://krukivit.com" target="........"></a> โดยให้เปิดหน้า new tab ใหม่ ต้องใช้คำสั่งใด

a)

_self

b)

_blank

c)

_parent

d)

_top

11.

ถ้าต้องการใช้ Style กับ Element เช่นการใส่สีข้อความ, สีพื้นหลัง, ขนาดตัวอักษร เราควรใช้ Attribute ใด

a)

style attribute

b)

href attribute

c)

width attribute

d)

height attribute

12.

ถ้าต้องการกำหนด สีข้อความ ให้กับ element ควรใช้ property ใด

a)

background-color

b)

color

c)

text-align

d)

font-family

13.

ถ้าต้องการกำหนด สีพื้นหลัง ให้กับ element ควรใช้ property ใด

a)

color

b)

background-color

c)

font-size

d)

font-family

14.

ถ้าต้องการ ปรับตำแหน่งแนว horizontal ให้กับ element ควรใช้ property ใด

a)

text-align

b)

font-size

c)

style

d)

color

15.

tag <b> ใช้กำหนดให้แสดงอย่างไร

a)

ตัวหนา

b)

ตัวเอียง

c)

ตัวอักษรตัวเล็ก

d)

highlight ตัวอักษร

16.

tag <i> ใช้กำหนดให้แสดงอย่างไร

a)

ตัวเอียง

b)

highlight ตัวอักษร

c)

ตัวหนา

d)

ตัวอักษรลอย

17.

โปรแกรมที่เราใช้เขียนภาษา html อยู่ ณ ปัจจุบัน ชื่อโปรแกรมเรียกว่าอะไร

a)

Dreamweaver

b)

Photoshop

c)

Visual Studio Code

d)

Cisco Packet Tracer

18.

ถ้าต้องการสร้างตารางเราจะใช้ tag ใด

a)

<table>

b)

<span>

c)

<ol>

d)

<ul>

19.

ถ้าต้องการกำหนด row หรือ แถว ของตาราง จะใช้ tag ใด

a)

<th>

b)

<tr>

c)

<td>

d)

<table>

20.

ถ้าต้องการกำหนดหัวตาราง ควรใช้ tag ใด

a)

<th>

b)

<tr>

c)

<td>

d)

<table>