Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

w03-HTML語言-3-表單

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

表單指令為?

a)

<form method=post></form>

b)

<table></table>

c)

<img></img>

2.

可讓人輸入文字的單行文字方塊的指令是?

a)

<input type="single">

b)

<input type="text">

c)

<input type="radio">

d)

<textarea></textarea>

3.

可讓人輸入文字的多行文字方塊的指令是?

a)

<input type="single">

b)

<input type="text">

c)

<input type="radio">

d)

<textarea></textarea>

4.

可讓人用多個○來進行單選的指令是?

a)

<input type="checkbox">

b)

<input type="text">

c)

<input type="radio">

d)

<textarea></textarea>

5.

多個radio單選,以name同名的為同一組。

請問,「魯天」跟哪個值在單選上同組?

<input type="radio" name="ob" value="魯天">

<input type="radio" name="og" value="那美">

<input type="radio" name="ob" value="索薩">

<input type="radio" name="ob" value="山冶">

a)

那美

索薩

山冶

b)

那美

索薩

c)

索薩

山冶

d)

山冶

6.

要能出現如圖可多選的效果,請問HTML指令為?

a)

<input type="radio" name="g" value="緋染天空"> 緋染天空

<input type="radio" name="g" value="重返未來"> 重返未來

<input type="radio" name="g" value="跑跑卡丁車"> 跑跑卡丁車

b)

<input type="checkbox" name="g[]" value="緋染天空"> 緋染天空

<input type="checkbox" name="g[]" value="重返未來"> 重返未來

<input type="checkbox" name="g[]" value="跑跑卡丁車"> 跑跑卡丁車

c)

<input type="text" name="g" value="緋染天空"> 緋染天空

<input type="text" name="g" value="重返未來"> 重返未來

<input type="text" name="g" value="跑跑卡丁車"> 跑跑卡丁車

7.

<input type="checkbox" name="g[]" value="緋染天空"> 緋染天空

<input type="checkbox" name="g[]" value="重返未來"> 重返未來

<input type="checkbox" name="g[]" value="跑跑卡丁車"> 跑跑卡丁車

如圖,HTML如上,勾選第3項後按儲存,

則php程式中「跑跑卡丁車」會放在?

a)

$_POST['game'][3]

b)

$_POST['game'][2]

c)

$_POST['game'][1]

d)

$_POST['game'][0]

8.

若想要調查同學們有玩什麼手遊game,適合使用radio或是checkbox?

a)

radio

b)

checkbox

9.

若想要調查同學們最喜歡的手遊game,較適合使用radio或是checkbox?

a)

radio

b)

checkbox

10.

哪個指令可以產生如圖效果?

a)

<input type="submit" name="save" >儲存

b)

<input type="submit" name="save" value="儲存">

c)

<input type="submit" name="儲存" value="save">