Insert a column in the beginning

Hi, I have been trying to see how i can insert a column in the beginning to my html table

This is how it looks

Name Age 
Sid     32   
John   33
Mary   34

I want to insert a column Job before Name column, so it looks like

Job      Name   Age 
IT        Sid       32   
Doctor John     33
Nurse   Mary    34

I tried with

<thead><tr>Job</tr></thead>
<tr><td>IT</td></tr>
<tr><td>Doctor</td></tr>
<tr><td>Nurse</td></tr>

but the output looks

Job
IT
Doctor
Nurse
Name Age 
Sid     32   
John   33
Mary   34

You will need to arrange it like <tr><td>column1</td><td>column2</td><td>column3</td></tr>

If you mean you want an automatic solution, what format do you have your input data in?

Thanks for the reply, however this would insert one row and the different columns.

I have it as space delimited columns as the raw file

<table>
  <tr>
    <th>Job</th>
    <th>Name</th> 
    <th>Age</th>
  </tr>
  <tr>
    <td>IT</td>
    <td>Sid</td>
    <td>32</td>
  </tr>
  <tr>
    <td>Doctor</td>
    <td>John</td>
    <td>33</td>
  </tr>
  <tr>
    <td>Nurse</td>
    <td>Mary</td>
    <td>34</td>
  </tr>
</table>