Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to add a check box beside each row in a table using html [closed]

How can I add a check box beside each row in my table using html .. How can I add it using below lines:

<td>    &nbsp;   </td>
<td>   &nbsp;    </td>
like image 746
Mevo Hafez Avatar asked Aug 08 '12 21:08

Mevo Hafez


2 Answers

<td><input type="checkbox" name="name1" />&nbsp;</td>
<td><input type="checkbox" name="name2" />&nbsp;</td>

Like that. It's a very basic question so you might like to provide some more information as to exactly what you want.

like image 111
Andreas Christodoulou Avatar answered Nov 15 '22 07:11

Andreas Christodoulou


<td><input type="checkbox" />    &nbsp;   </td>
<td><input type="checkbox" />    &nbsp;   </td>
<td><input type="checkbox" />    &nbsp;   </td>

and so on...

like image 43
Mike Burnwood Avatar answered Nov 15 '22 06:11

Mike Burnwood