write the code to produce following html table
Attachments:
Answers
Answered by
11
<!DOCTYPE html>
<html>
<head>
<style> table, th, td { border: 1px solid black;border-collapse: collapse; } </style>
</head>
<body>
<table style="width:50%">
<tr>
<th>A</th>
<th>B</th>
</tr>
<tr>
<th>C</th>
<th>D</th>
</tr>
</table>
</body>
</html>
__________________________________________
*Copy that code to Notepad of HTML
*Image is above given that how it will look like.
*Dont forget to open or close html, body, head, table and etc, as above given.
Attachments:
Similar questions