There are instances wherein you may need to create a table for your blogs. A table may contain texts, links, and graphics. There are three basic sets of HTML tags used in creating tables for a web document. These tags are shown below. The sample table that you see here uses the displayed HTML tags. However, you should note that when it comes to Blogger, table tags should be written as continous one line. Pressing the enter key several times would create too much white spaces above the table. This is especially true if the table has a lot of data contents. Click this link to see an example of a table with too much white spaces above it: HTML Tags.
SAMPLE TABLE:
data1 | data2 |
data3 | data4 |
Codes Used:
<table border="2">
<tr>
<td>data1</td> <td>data2</td>
</tr>
<tr>
<td>data3</td> <td>data4</td>
</tr>
</table>
Definitions:
- <table> --used to delineate the boundaries of the table
- <tr> --used to delineate rows
- <td> --used to delineate cells where table data are located
- border="number" --used to set the border lines