Lesson One - Building the basic table.
What's in a table?
A table is made from a combination of three basic tags.
The table's main tag that first tells the browser that a table is here,and how
to present it as a whole...
The next tag is called the "table row" tag.
This one defines the row that contains the table data cells and resides between
the table tags shown above.
The last tag is the "table data" cells tag.
This is the one that actually holds your content,meaning your text,
graphics,links and so on. This one resides between the TR tags above.
These tags are always together and always have an end tag for each one.
An end tag is the one with the slash / in it,this is what closes the tags
in the correct position.
Here is what the table code combo will look like once the above codes are built...
>table<
>TR<
>td<
(YOUR CONTENT HERE)
>/tr<
>/td<
>/table<
Please be sure to note the correct order of the tags....The TABLE
comes first,next comes the TR and then theTD .
Your content is then added here and you *must* finish it off with the
appropriate end tags,as shown above.
There are many,many additions that can be made to each of the tags above
in order to control the tables size,border,background and so on.
We will touch upon those in our next lessons.
our homework for this lesson;
Build a table using these basic instructions and place your own text or picture
inside it on a test page and upload it to your directory.
When you think you have completed this lesson successfully,you can go to lesson two
- table controls.
|