Defining a table in html is exactly as it sounds. Tables are used to make rows and columns on a webpage to serve whatever you need them for. To make a table use the TABLE tag. Then make a row using the TR tag. For the the individual cells the TH tag for header and TD for normal rows. Like the following.
 TABLE      but of course               
 TR             with the appropriate 
 TH/TD               less than or greater
 /TR                than signs for default
 /TABLE                  html tagging. 

Sample table. But why can't you see rows and column lines? As you can guess. It's because color wasn't assigned to them. and since you have the option of adding different color to the tables you create.
YOU HAVE
BEEN TERMINATED
it leaves you with many options for decorating your table. you can assign the border color, as well as its thickness border: 5px solid black;. The background of the table using bgcolor="" in the Table tag and the individual cells color using the same method in the Th tag.
YOU HAVE
BEEN TERMINATED




To control the width of your table you have two options. Both in the TABLE tag, you can go the percentage route "Table style="width:100%"" OR "Table style="width:100px"" to represent pixel amount. You can even control the height of your cells using the Td tag via Td height="100"
THIS IS TO REPRESENT WIDTH...
you can have any height you'd like. isn't it convenient
You can also change the type of border of the table. "if you'd like that is..." by controlling the border thickness via border: ?px solid (insert color here); or the spacing via border-spacing: 15px; you can utilize such commands for table, th, td though you may have to make a class for them.
Apple Banana Cherry
see more fruit

What you write could vary in a table, but whatever you do decide to write in said table. So can it's position. Of course you need to make space in the cell so you can even position them. And while you could adapt some methods from above to do this. there's an easier feature.Use padding; Padding can be placed as style="padding:15px"; as a class. or in the TD or TH tagging.
NUMBERS LETTERS
1 A
2 B
This will give you the space you need. In fact now that you have the spacing required you can change the position of what you write using align, and there are many forms of that. First you can align in the Td tag and Th tag. Second is there are forms of alignment. There's normal alignment which can be represented as align="left/center/right" Then there's a more particular alignment that can be achieved through valign. Though they work in unison to achieve what you may need. You can think of it as X = align and Y = valign through normal X and Y axis coordination. To use valign in the td and th tag valign="top/middle/bottom".




NUMBERS LETTERS
1 A
2 B
Honestly, I dont even know what to say. I mean i ran out of things to put in tables since
Peanut butter chocolate moose cake. four score and three hours ago
something Wiley just speed past me. the reveal of black ops three.
As the left example table shows.
Modification has been made with align.
Further modification to the table can be seen right.
this is the type of alignment valign does.






As a quick side note before the next topic. You can have images in your table as the background. Your table may also include a caption placed above it. To have a picture background, just type in background in the table tag. For the caption use the caption tag after the table tag. The caption will auto-align sort of like text, so you may have to play with it.
paint it black
HOW FAR WILL
YOU GO ?

Maybe you want to take up two cells for something a bit bigger than the normal text in the other cells. Using colspan="?" you can in a way take up an non existing column if there's space for it.
Rolling stones paint it black
I see a red door,
and want it painted black
No colors anymore. I want them to turn black.
Like the colspan affects cells.
pineapples are good people. microsoft is the nicest
company in america
see shore sell sea shells by the sea snores god of war = god of death - war + is = war is death
teh he le le tiki... i was bored.

The rowspan affects rows.
to use the rowspan,
within the th tag.
Write rowspan="?"

HOME
MARKUPS
LISTS
IMAGES
URL
TABLES
FORMS
TAKEHOME