本日は枠の作り方を学びました。
メモ帳に下記を入力して ○○.html (.htmlはホームページで表示する拡張子)で保存します。
それを開くと文字が出てきます。
①「これがテーブルです。」の文字のみ
<table>
<tr>
<td>
これがテーブルです。
</td>
</tr>
</table>
②border="1"を入れることによって見えていなかった枠を表示できます。
<table border="1">
<tr>
<td>
これがテーブルです。
</td>
</tr>
</table>
③<td>は横に枠を増やします。
<table border="1">
<tr>
<td>
これがテーブルです。
</td>
<td>
これがテーブルです。
</td>
</tr>
</table>
④<tr>は縦に枠を増やします。
<table border="1">
<tr>
<td>
これがテーブルです。
</td>
</tr>
<tr>
<td>
これがテーブルです。
</td>
</tr>
</table>