Forest
Beloved Grand Eagle
Nope, I don't mean tables and chairs types of tables. I mean tables like this:
[TR1][TD]This is a left aligned cell[/TD][TD1]This is a centre aligned cell[/TD1][/TR1][TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2][TR1][TD1]Centre aligned[/TD1][TD2]Right aligned[/TD2][/TR1]
Most of you won't ever want to add a table to a post, so you can stop reading now.
Still reading? Okay, if you are curious, while it can be a bit overwhelming at first, it's quite learnable if using computers comes reasonably naturally to you.
To make the table above, you just put the following code into the page:
Yike's that's terrifying! But the truth is that if you break it down into steps, it's actually quite sensible. The code may seem confusing at first, but it is something you can learn if you want to. (Obviously, most people won't want to.)
When looking at it, some abbreviations may help:
The important thing to remember is that you must put the entire table on one continuous line. Don't press enter! In other words, the following will work:
But the following will break because it isn't one continuous line:
If you take the time to understand the above, you'll actually will have learned 50% of how tables are made in all web pages. The big difference is simply that instead of using brackets, they use < and >. So, for example, they write <table>, <tr>, <th>, and <td>. Other than that things are pretty much the same.
Of course, feel free to ask questions below if you have them.
| This is a header cell | This is a header cell |
|---|
Most of you won't ever want to add a table to a post, so you can stop reading now.
Still reading? Okay, if you are curious, while it can be a bit overwhelming at first, it's quite learnable if using computers comes reasonably naturally to you.
To make the table above, you just put the following code into the page:
Code:
[TABLE][TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR][TR1][TD]This is a left aligned cell[/TD][TD1]This is a centre aligned cell[/TD1][/TR1][TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2][TR1][TD1]Centre aligned[/TD1][TD2]Right aligned[/TD2][/TR1][/TABLE]
When looking at it, some abbreviations may help:
- TR stands for "Table Row." "TR" means that you are starting a row and "/TR" means that you are ending it.
- TH stands for "Table Header Cell." Similarly, "TH" means that you are starting a header cell and "/TH" means that you are ending it.
- TD stands for "Table Data." It's for the main cells of the table. As above, a "/" is used to end a main data cell.
The important thing to remember is that you must put the entire table on one continuous line. Don't press enter! In other words, the following will work:
Code:
[TABLE][TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR][TR1][TD]This is a left aligned cell[/TD][TD1]This is a centre aligned cell[/TD1][/TR1][TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2][TR1][TD1]Centre aligned[/TD1][TD2]Right aligned[/TD2][/TR1][/TABLE]
But the following will break because it isn't one continuous line:
Code:
[TABLE]
[TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR]
[TR1][TD]This is a left aligned cell[/TD][TD1]This is a centre aligned cell[/TD1][/TR1]
[TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2]
[TR1][TD1]Centre aligned[/TD1][TD2]Right aligned[/TD2][/TR1]
[/TABLE]
If you take the time to understand the above, you'll actually will have learned 50% of how tables are made in all web pages. The big difference is simply that instead of using brackets, they use < and >. So, for example, they write <table>, <tr>, <th>, and <td>. Other than that things are pretty much the same.
Of course, feel free to ask questions below if you have them.
Last edited: