Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Written Activity

Creating tables in HTML files


Name: ________________________________ Score: ___________

Based from the code below, create a table. Write your answer inside the box. (5 pts each)

<table style="text-align: left; width: 331px; height:


194px;"
border="1">
<tbody>
<tr>
<td>Heading 1</td>
<td>Heading 2</td>
<td>Heading 3</td>
</tr>
<tr>
<td colspan="3" rowspan="1">colspan</td>
</tr>
</tbody>
</table>

<table style="text-align: right width: 393px; height:


216px;"
border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td></td>
<td></td>
<td colspan="2" rowspan="1">white</td>
</tr>
<tr>
<td colspan="2" rowspan="1">yelow</td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td colspan="2" rowspan="1">Red</td>
<td></td>
</tr>
</tbody>
</table>
Test II

Write the equivalent tag/attribute of the following;

1. Table column = _______________


2. Table row = __________________
3. Merge two or more rows = __________________
4. Merge two or more column = __________________
5. Table heading = __________________________
6. Table tag = ____________________
7. Table background color = _____________________
8. Table background image = ____________________
9. Table border = ______________________________
10. Table height = ______________________________

You might also like