Earlier I wrote about Table structure, but thing is like that if you don't practise enough, you tend to forget. And in Table structure if you put everything, then for a beginner it becomes complex, like, Table in HTML is too hard.
So here I'm writing in simplified, very simplified way -- just few things about table and your work is done.
<table border="1">
<caption> my table & chair </caption>
<tr><td> first chair </td><td> second chair </td></tr>
<table>
If you don't want, you may not use <caption>. But without these three things <table>, <tr>, <td> and their closing </table>, </tr>, </td> -- table can't be made.
Here <tr> stands for row (horizontal), in which you can put any number of column (vertical line); <td></td> stands for one column. So in above example we have put two columns, and have written something in them.
I put border="1" for table, so that lines of row and columns could be visible, else, you may leave it if want to. This little knowledge about Table may help you a lot in blogging, where you want to put date in tabular form.
Comments
Post a Comment