テーブルの背景に色を付ける
<table border="1" bgcolor="背景色">
<tr>
<td>表示する文字など</td>
</tr>
</table> |
試しに#ffaaaa(少し薄目の赤)を入れてみます。
テーブルのセルごとに背景色を付ける
<table border="1">
<tr>
<td bgcolor="背景色">表示する文字など1</td>
<td bgcolor="背景色">表示する文字など2</td>
</tr>
</table> |
試しに#ffaaaaと#aaaaffを入れてみます。
テーブルに背景画像を使う
<table border="1" background="画像のURL">
<tr>
<td width="100" height="100">表示する文字など</td>
</tr>
</table> |
画像のURLはhttp://からgifやjpgなどの拡張子までの部分を入力してください。
テーブルのセルごとに背景画像を使う
<table border="1">
<tr>
<td width="100" height="100" background="画像のURL">表示する文字など1</td>
<td width="100" height="100" background="画像のURL">表示する文字など2</td>
</tr>
</table> |
画像のURLはhttp://からgifやjpgなどの拡張子までの部分を入力してください。
|