JSFiddle - React, Tailwind, and code Playground

by ramstheroyal

HTML

<table>
<thead>
	<colgroup>
		<col width="25px"/><col/>
	</colgroup>
<tr><th><input type="radio"/></th><th>Wish</th></tr>
</thead>
<tr><td><input type="radio"/></td><td>Hello</td></tr>
<tr><td><input type="radio"/></td><td>Hello</td></tr>
<tr><td><input type="radio"/></td><td>Hello</td></tr>
<tr><td><input type="radio"/></td><td>Hello</td></tr>
</table>

**************************************

<table>
<thead>
	<colgroup>
		<col width="25px"/><col/>
	</colgroup>
	<tr><th><input type="radio"/></th><th>Wish</th><th>Whom?</th></tr>
</thead>
<tr><td><input type="radio"/></td><td>Hello</td><td>Mr.How are you?</td></tr>
<tr><td><input type="radio"/></td><td>Hello</td><td>Mr.How are you?</td></tr>
<tr><td><input type="radio"/></td><td>Hello</td><td>Mr.How are you?</td></tr>
<tr><td><input type="radio"/></td><td>Hello</td><td>Mr.How are you?</td></tr>
</table>

**************************************


<table>
<thead>
	<colgroup>
		<col width="25px"/>
	</colgroup>
</thead>
<tr><td><input type="radio"/></td></tr>
<tr><td><input type="radio"/></td></tr>
<tr><td><input type="radio"/></td></tr>
<tr><td><input type="radio"/></td></tr>
</table>

CSS

table{
	border:1px solid;
	border-collapse:collapse;
	width:100%;
}
table td{
	border:1px solid;
}