I have created demo for you just take a look..:)
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
function SetAccord(id) {
$("#" + id).slideToggle(300);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<div>
<div>
<table border="1" width="100%">
<tr>
<td style="background-color: rgb(217, 215, 215); cursor: pointer" onclick="SetAccord('Tab1')" class="Tab1">Tab 1</td>
</tr>
<tr style="display: none" id="Tab1">
<td>Tab 1 Content.....</td>
</tr>
<tr>
<td style="background-color: rgb(217, 215, 215); cursor: pointer" onclick="SetAccord('Tab2')" class="Tab1">Tab 2</td>
</tr>
<tr style="display: none" id="Tab2">
<td>Tab 2 Content.....</td>
</tr>
<tr>
<td style="background-color: rgb(217, 215, 215); cursor: pointer" onclick="SetAccord('Tab3')" class="Tab1">Tab 3</td>
</tr>
<tr style="display: none" id="Tab3">
<td>Tab 3 Content.....</td>
</tr>
</table>
</div>
</div>
</div>
</form>
</body>
</html>
You can modify it according to your need.. :)
Regards,
Nirav Prabtani (Senior Web Developer)
Email : niravjprabtani@gmail.com
blog : niravprabtani.blogspot.in