Well here you are, into the harder stuff, never thought you had it in ya. Some of the main tags are:
<TABLE> and </TABLE>
<TABLE> is prety obvious to you by now, it indicates the start of tables, as </TABLE>
indicates the end of tables.
But to even get this you need a code to give you a box to type in and this is: There are some other things you can add to the table code as you ca se on my table, here is the code I typed for my table: <TABLE BORDER=3 CELLSPACING=3 WIDTH=80%> you can also add BGCOLOR="888888" but I tend to add this code in with the <TD> tag, like so: <TD BGCOLOR="888888"> (same colour as this page) Another handy item is 'COLSPAN' (Column span) this is added in the 'TD' tag as before, this defines how many columns this one column crosses, like so: GO! |
EXAMPLES:
<TABLE> (Obvious if you are a more advanced web designer)
<TR> (First 'Row')
<TR> (Second 'Row')
<TR> (Third 'Row')
</TABLE> (And this finishes your table.)
1
2
This is a 2 row table.
Item One
Item Two
Item Three
Item Four
Item Five
Item Six
Now this is a three row two column table, I'll go through this bit by bit to explain how it's
done.
<TD> (First 'Row' first 'Column') </TD>
<TD> (First 'Row' Second 'Column') </TD>
</TR> (End of first 'Row')
<TD> (Second 'Row' first 'Column') </TD>
<TD> (Second 'Row' second 'Column') </TD>
</TR> (End of second 'Row')
<TD> (Third 'Row' first 'Column') </TD>
<TD> (Third 'Row' second 'Column') </TD>
</TR> (End of third 'Row')
Three
Four
<TABLE WIDTH=50%>
<TR>
<TD COLSPAN=2>
</TD>
</TR>
</TABLE>