How to give border only to TR tag in HTML.
<html>
<head>
<style>
table.ex1 {
border-collapse: separate;
border-spacing: 10px;
}
</style>
</head>
<body>
<table class="ex1" border="1">
<tr>
<td>ABC</td>
<td>XYZ</td>
</tr>
<tr>
<td>Lois</td>
<td>Griffin</td>
</tr>
</table>
<br>
</body>
</html>
Any response will be appreciated.