write html code for the following output
Answers
thanks for asking the question answer is in the picture
<!DOCTYPE html>
<html>
<head>
<title>Html Tabel for KCkunal | Brainlyshchay</title>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 450px;
}
td,
th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
<center>
<h2>Your HTML Table</h2>
<table>
<tr>
<th>Streams</th>
<th>Subjects</th>
</tr>
<tr>
<td>Science</td>
<td>Physics
<br>
<br> Chemistry
</td>
</tr>
<tr>
<td>Commerce</td>
<td>Accounts
<br>
<br> Ecconomics
</td>
</tr>
<tr>
<td>Arts</td>
<td>English
<br>
<br> Political Science</td>
</tr>
</table>
</center>
</body>
</html>