Create Tables

You can create a table in your website, like this one below:

Table Caption
Row 1 Col 1 Row 1 Col 2
Row 2 Col 1 Row 2 Col 2

This is the code for building the table:

<table border=”1″>
<caption>Table Caption</caption>
<tbody>
<tr><td>Row 1 Col 1</td>   <td>Row 1 Col 2</td></tr>
<tr><td>Row 2 Col 1</td>   <td>Row 2 Col 2</td></tr>
</tbody>
</table>

You have to enter the code in the “Text” input and not “Visual” when you are editing your pages in WordPress.  You can just copy and paste the codes into your text input section to create a table.

If you need more row, add in one line as below.

<tr><td>Row 2 Col 1</td>   <td>Row 2 Col 2</td></tr>

If you need 3 column, on each row the code will be.

<tr><td>Row 1 Col 1</td>   <td>Row 1 Col 2</td> <td>Row 1 Col 3</td></tr>

Tables are quite useful, you can have images inside the table.


Leave a Reply

Your email address will not be published. Required fields are marked *

*