コンピュータネットワーク基礎
Aクラス 宿題 2005.07.01

Back


解答は,解答用紙に記入して, メールに添付して提出すること.解答用紙に学生番号と氏名を必ず記入し,ファ イル名を適切なものに修正しておくことに注意!

設問

次に示すようなWebページを作成せよ.

作成条件は以下のようなものである.

  1. 背景は色つき
  2. ページタイトルは学生番号
  3. 本文の学生番号と氏名は番号つき箇条書き
  4. 表は一部のセルだけ背景が白
  5. 文字色の指定は16進でも色の名前でも可
  6. 表のコラムの幅は <td width="20%"> のように比率で指定する.

解答例

<html>
<head>
<title>
s0340**
</title>
<body bgcolor=#abcdef>
<ol>
<li>学生番号:s0340**<br>
<li>氏名:島根太郎<br>
</ol>
<br>
<table border>
<tr align="center">
<td width=100% colspan="2">
こういう表を作ってみよう
</td>
</tr>
<tr>
<td align="center" width="20%" rowspan="3" bgcolor="white">
Impulse
</td>
<td width="70%">
<font color="blue">
Force Impulse Gundam
</font>
</td></tr>
<td>
<font color=#006600>
Blast Impulse Gundam
</font>
</td></tr>
<td>
<font color=#5555ff>
Sword Impulse Gundam
</font>
</td></tr>
<tr>
<td align="center" width="20%" rowspan="3" bgcolor="white">
Strike
</td>
<td width="70%">
<font color="blue">
Aile Strike Gundam
</font>
</td></tr>
<td>
<font color=#006600>
Launcher Strike Gundam
</font>
</td></tr>
<td>
<font color=#5555ff>
Sword Strike Gundam
</font>
</td></tr>
</table>
</body>
</html>


コンピュータネットワーク基礎
Bクラス 宿題 2005.07.01

Back


解答は,解答用紙に記入して, メールに添付して提出すること.解答用紙に学生番号と氏名を必ず記入し,ファ イル名を適切なものに修正しておくことに注意!

設問

次に示すようなWebページを作成せよ.

作成条件は以下のようなものである.

  1. 背景は色つき
  2. ページタイトルは学生番号
  3. 本文の学生番号と氏名は番号つき箇条書き
  4. 表は一部のセルだけ背景が白
  5. 文字色の指定は16進でも色の名前でも可
  6. 表のコラムの幅は <td width="20%"> のように比率で指定する.

解答例

<html>
<head>
<title>
s0340**
</title>
<body bgcolor=#fedcba>
<ol>
<li>学生番号:s0340**<br>
<li>氏名:島根太郎<br>
</ol>
<br>
<table border>
<tr align="center">
<td width=100% colspan="2">
こういう表を作ってみよう
</td>
</tr>
<tr>
<td align="center" width="20%" rowspan="3" bgcolor="white">
Z.A.F.T.
</td>
<td width="70%">
<font color="blue">
Destiny Gundam
</font>
</td></tr>
<td>
<font color=#444444>
Legend Gundam
</font>
</td></tr>
<td>
<font color=#882255>
Infinite Gundam
</font>
</td></tr>
<tr>
<td align="center" width="20%" rowspan="3" bgcolor="white">
O.M.N.I.
</td>
<td width="70%">
<font color="aa4466">
Windom
</font>
</td></tr>
<td>
<font color=#004400>
Destroy
</font>
</td></tr>
<td>
<font color="blue">
Dagger L
</font>
</td></tr>
</table>
</body>
</html>


Back