HTML
WEB DESIGN GUIDE – TABLES
I
· Let’s consider the 3 tags needed for a table structure. The
<table> & </table> tags start and end the structure. The
<tr> & </tr>
tags specify the beginning and end of a row. The
<td> & </td> tags specify the beginning and end of a data
cell. ·
Here
are a few other details about tables: o The text that appears between each
<td> and </td> is what appears in that cell. o If there are three pairs of <td>
& </td> between one <tr> & </tr>, then that row will have three data cells. o To see the border of the table, we
need to set the border attribute of the table tag to 1 or more. ·
Here
are a few example tables. Spend some
time understanding how the <tr> and
<td> tags are organized. Try
copying and pasting some of these in your code to see it work.
·
In
webpage4.html, add the HTML code required to create the following table: Try
not to look below before trying on your own.
Test
your page. Take your time to
understand how the structure is organized. GOT EXTRA
TIME? ·
Can
you alter your table from above to make this one? ·
Can
you make this table (muhahaha)? |