How To Create Table In Blogger/Wordpress

By [Updated on: Tuesday, August 07, 2012]
While blogging many peoples need to insert table. But if they don't know all about HTML then it is hard task to them. Here an easy way is shown to create table without dealing with HTML Code.



Still if you want to go with HTML code. Then here is simple method given just follow it.
  • First of all use <table> and </table>tag
  • For each row enter <tr> and</tr>tag
  • Inside table row means in between <tr> and </tr> use <td>and</td> to insert cell.
  • Finally what contents in table you want to display those you can enter in between <td>and </td> tag
  • Here, if you want border for the table then use attribute border this way <table border=”4”>
  • If you want some space in between cell border and text then use attribute cellpadding (see below example)


CODE

<table border="2" cellpadding="10">
<tr>
<td>Class</td>
<td>Boys</td>
<td>Girls</td>
</tr>
<tr>
<td>IX</td>
<td>25</td>
<td>36</td>
</tr>
</table>


OUTPUT

Class
Boys
Girls
IX
25
36

Share Post:
Jitendra Indave

About Jitendra Indave

Technical expert and lead developer at Enigmazone. Dedicated to providing high-quality software insights, news, and tutorials to help you navigate the digital world.

You can meet him here :-