In: Computer Science
The html code is given below.
<!DOCTYPE html>
<html>
<head>
<style>
table{
border-collapse:collapse;
}
td
{
width:100px;
height:100px;
border:2px solid black;
}
</style>
</head>
<body>
<table>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
Here
In style tag
I have used width, height and border for every pixel
and additionally i used border collapse property. If you dont want
that just remove that part.
The screenshot of the running code and output is given below.
If the answer helped please upvote it means a lot. For any query
please comment,