Hello friends, Today i am going to show you how to create table with border in HTML.
<html>
<head>
<style> (this is the table style )
table,th,td
{
border:1px solid black;
}
</style>
</head>
<body>
<table style="width:300px">
<tr>
<td>Rahee</td>
<td>Sanju</td>
<td>50</td>
</tr>
<tr>
<td>Shubham</td>
<td>Rohit</td>
<td>94</td>
</tr>
<tr>
<td>Golu</td>
<td>joe</td>
<td>80</td>
</tr>
</table>
</body>
</html>
No comments:
Post a Comment