Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

w02-HTML語言-2

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

網頁使用16進位顏色碼。

請問下面HTML碼在瀏覽器中,文字會呈現何種顏色?

<font color=#0000FF>紅包裡面只有1000元</font>

a)

白色

b)

紅色

c)

綠色

d)

藍色

2.

網頁使用16進位顏色碼。

請問下面HTML碼在瀏覽器中,文字會呈現何種顏色?

<font color=#00ff00>紅包裡面只有1000元</font>

a)

白色

b)

紅色

c)

綠色

d)

藍色

3.

如圖,想用右上角的顏色的橫線,

指令是?

a)

<hr color=109>

b)

<hr color=#6dd0cd>

c)

<hrcolor=#6dd0cd>

d)

<hr color=208>

4.

<img>是插入圖片指令,若有圖片url為https://127.0.0.1/good.jpg

且希望圖片的寬度限制為100像素,則此圖片指令為?

a)

<img src="good.jpg width=100">

b)

<img src="https://127.0.0.1/good.jpg width=100">

c)

<img src="https://127.0.0.1/good.jpg" width="100">

d)

<img=src"https://127.0.0.1/good.jpg width=100">

5.

超連結的指令:若想讓「購買習維尼」5個字有超連結,連至某詐騙網站

https://liar.com.tw,

則指令為?

a)

<a href="https://liar.com.tw"></a>購買習維尼

b)

<a href="https://liar.com.tw">購買習維尼</a>

c)

<a href="https://liar.com.tw" 購買習維尼></a>

d)

<a URL="https://liar.com.tw">購買習維尼</a>

6.

若想讓圖片<img src="URL">有超連結,可以連至 https://tw.yahoo.com

則指令為?

a)

<a href="https://tw.yahoo.com"><img src="URL"></a>

b)

<img src="URL">

https://tw.yahoo.com.tw

c)

<img src="URL" href="https://tw.yahoo.com">

d)

<img src="URL"><a https://tw.yahoo.com></a>

7.

如圖,若想在d.htm作超連結,連至e.htm,且使用相對路徑法,

其寫法為?

a)

<a href="../coffee/2024/jan/e.htm"></a>

b)

<a href="2024/jan/e.htm"></a>

c)

<a href="coffee/2024/jan/e.htm"></a>

d)

<a href="../2024/jan/e.htm"></a>

8.

表格用的指令是?

a)

<table><li><td>

b)

<table><br><td>

c)

<table><tr><td>

9.

有表格指令如下,

<table border=1>

<tr><td>1</td>   <td>2</td>  <td>3</td> </tr><tr> <td>4</td></tr><tr>   <td>5</td> <td>6</td></tr>

</table>

表格會變成?

a)

b)

c)

10.

使用colspan或rowspan可以進行領域展開,請問下面指令產生的表格,何者正確?

<table border=1>

<tr><td>1</td>   <td>2</td>  <td>3</td> </tr>

<tr> <td colspan=3>4</td></tr>

<tr>   <td colspan=2>5</td> <td>6</td></tr>

</table>

a)

b)

c)