There are two ways to create a table in website/blog:
1. a standard html format /code for writing a table
for example we take 2 column and 4 rows HTML code is
<table>
<tr><td>One
</td><td> Two</td></tr>
<tr><td>Three
</td><td> Four</td></tr>
<tr><td>Five
</td><td> Six</td></tr>
<tr><td>Seven
</td><td >Eight</td></tr>
</table>
All the tables in html starts with <table>
and ends with </table>
<tr> is tr=table row indicates new row in the table and usually
ends with </tr>
<td> Indicates the start of the content of a
table column where td=table data and this tag ends with </td>
though creating a table format using above method
is a bit confusing for beginners the second way of creating a table will be
easy...
<table>
<tr><td>One
</td><td> Two</td></tr>
<tr><td>Three
</td><td> Four</td></tr>
<tr><td>Five
</td><td> Six</td></tr>
<tr><td>Seven
</td><td >Eight</td></tr>
</table>
All the tables in html starts with <table>
and ends with </table>
<tr> is tr=table row indicates new row in the table and usually
ends with </tr>
<td> Indicates the start of the content of a
table column where td=table data and this tag ends with </td>
though creating a table format using above method
is a bit confusing for beginners the second way of creating a table will be
easy...
2.Draw a table in MS-Word and save that file as Webpage formatThis is the easiest way to create a table in the web / blog. Follow the following steps :
- Open the MS-Word and create a table as you wish.
- Save As the file with Single file Webpage , Webpage(filtered) format in MS-Word.
- Now Open that saved file with text editor like Notepad,EditPlus etc.
- Copy the only part or from table tag (<table>) to end of table tag (</table>) i.e. your table and table values/data.
- Now you have to paste this copied HTML code in the blogger HTML blogger post
- Then you can publish the post or table.
No comments:
Post a Comment