How can I make an accordion in plain HTML?
- <table border="1">
<tr>
<th><input name="checkbox" type="checkbox" id="selectall"/></th>
<th>Multipal Row </th>
<th>Rating</th>
</tr>
<tr>
<td align="center"><input type="checkbox" class="case" name="case" value="1"/></td>
<td>First Chek </td>
<td>1</td>
</tr>
<tr>
<td align="center"><input type="checkbox" class="case" name="case" value="13"/></td>
<td>Thirty Chek </td>
<td>13</td>
</tr> </table>
Best Answer
You could always use the plain HTML5
details
element. Here's a minimal example with just HTML:Here's another example with CSS: