Thursday, October 1, 2009

HTML TABLES. i have no smart comment about them. sorry

Html tables, like everything html has you starting out thinking "wtf?! I'm so lost! Who created this and where do they live?!" But it also gets easier with time. Just Like Everything Else (as previously stated). It's actually kinda simple when you think about it. You start off with your <.table> code. Inside of the < > as well you can put how wide you want your table to be "width="80%" "65%" "91%" whatever, and if you want it aligned center, left, or right. You also need to tell it how many columns your table will have simply by typing <.cols="4" "7" "18" etc. Also, tables have borders as well as pictures do. So you simply type "border="5" "1" whatever.

Next, for each row you start with <.TR> and press enter. Next, for each cell you start with <.TD>type whatever you want in the cell. And end it with <./TD> Press enter and repeat this for however many cells you have in a row. When you end a row, press enter and end it with <./TR> Then press enter twice and do it all again for each row that your little heart desires.

End the entire table with the last <.TR> "ENTER" and a <./table>

No comments:

Post a Comment