Step 3: Making Tables
Now, to tidy things up in your game, you'll need to make tables. You can start by the
Here's an example code:
And the result is:
If you've got what the codes do, you can start making your own. Trust me, this is a piece of cake but it's pretty useful. It might came in handy sometimes!
<table>
tag. Then, you add one row with the <tr>
sub-tag. Then you can start adding a cell by the <td>
sub-tag within the <tr>
and </tr>
tags. Here's an example code:
<table>
<tr>
<td>
Cell content 1
</td>
<td>
Cell content 2
</td>
</tr>
<tr>
<td>
Cell content below 1
</td>
<td>
Cell content below 2
</td>
</tr>
</table>
And the result is:
Cell content 1 | Cell content 2 |
Cell content below 1 | Cell content below 2 |
If you've got what the codes do, you can start making your own. Trust me, this is a piece of cake but it's pretty useful. It might came in handy sometimes!