Pin It

Widgets

How To Create Table Using HTML in Wordpress & Blogger Post

Using a table in blog post is not a tedious task for those who have known and mastered how html works, but for newbies that has just started, adding html table to their wordpress / blogger blog might be difficult.

Create-HTML-Table-In-Wordpress-and-blogger

Today, I want to share a simple trick that anyone can use to create html table in wordpress and blogger post. Follow the instructions below to make html table for your blog.

How To Create HTML Table in Wordpress and Blogger post

Note: when dealing with html, it must begin with an open tag <> and end with a closing tag. Therefore, to make a table with html, it must start with <table> and end with </table>
<td> </td> = you can put text or insert images between this tag. You can also repeat it many times to create more cells.
<tr> </tr> = this tag is use for making rows. You can repeat this tag to make more rows in your post.
The html table below is a 2 X 4 table

<table width="400" border="2" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td> row1, cell1</td>
<td>row1, cell2</td>
</tr>
<tr>
<td> row2, cell1</td>
<td>row2, cell2</td>
</tr>
<tr>
<td> row3, cell1</td>
<td>row3, cell2</td>
</tr>
<tr>
<td> row4, cell1</td>
<td>row4, cell4</td>
</tr>
</tbody>
</table>

You must add this code in the html editor of your blogger or wordpress blog and preview it for any error. If the table is correctly entered and configured, it must look like what you are seeing below.

row1, cell1 row1, cell2
row2, cell1 row2, cell2
row3, cell1 row3, cell2
row4, cell1 row4, cell4

In case you want to reduce it to a 1X1 table then the code will look like this
<table border="2" cellpadding="1" cellspacing="1" style="width: 400px;">
<tbody>
<tr> <td>row1, cell1</td> </tr></tbody> </table>

Result:
row1, cell1

For a 2X2 table, the code will be:
<table border="2" cellpadding="1" cellspacing="1" style="width: 400px;"><tbody>
<tr> <td>row1, cell1</td> <td>row1, cell2</td> </tr>
<tr> <td>row2, cell1</td> <td>row2, cell2</td> </tr></tbody> </table>

Result:
row1, cell1 row1, cell2
row2, cell1 row2, cell2

You just need to add the “td” and “tr” tag to add more rows and column to the table.

That’s all. In my future post I will explain how you can add color to the table.

How-To-Create-Color-HTML-table


Stay Informed, Inspired and Motivated With Our Free Daily Tips. Add Your Email Now, Don’t Worry, Your Email Address Is Secure:
Enter your email address:

Confirm Your Email Address After Subscribing
We hate spam just as much as you do.


Enjoyed This Article? Follow us on Facebook or Twitter or add us to your circle on Google+ for our new updates.

5 comments so far. What are your thoughts?

Racel said...
Reply To Comment

Good tutorial for newbie like me.
Share some more.

Olusegun Fapohunda said...
Reply To Comment

@Racel, You can check out more Blogger Hack and Tutorials Here

download - تحميل said...
Reply To Comment

thank you verey much
l like the nice post
good luck my freind

Emmanuel Obarhua said...
Reply To Comment

I red a post on how to create a table for a blog post without coding. It seem cool but the way i am seeing it may be this one is better. I'll put it to work, if the work is not too much then i'd just stick to this. Thanks

Unknown said...
Reply To Comment

Can you please tell me how to put HTML inside any of the tables?

Click Here to Leave a Comment

Don't just read and walk away, Your Feedback Is Always Appreciated..

Note:
Please do not spam, spam comments will be deleted immediately upon review.

Like US on Facebook