3. Write the HTML code to prepare a table
->minimum two columns and four rows
(02) (02) (03)
->color alternative rows with any color
Answers
Answered by
2
!DOCTYPE html
< html>
<html>
<body>
<h2> HTML Table</h2>
<table style="width:100%">
<tr>
<th>First column</th>
<th> 2 column</th>
</tr>
<tr>
<td>first row</td>
<td>...</td>
</tr>
<tr>
<td> 2 row </td>
<td>...</td>
</td>
<tr>
<td>3 row</td>
<td>...</td>
</tr>
<tr>
<td> 5 row </td>
<td>...</td>
</td>
</table>
</body>
</html>
Similar questions
Computer Science,
2 months ago
Science,
2 months ago
Chemistry,
2 months ago
English,
5 months ago
Math,
5 months ago
Science,
10 months ago
Social Sciences,
10 months ago
English,
10 months ago