1.

Write an HTML code to print the following table:Note: 1 Background color of a table is pink.           2 Caption of a table is in red color.

Answer»

<caption>

<b>

<font size="4'' color="red">

Student Data </font>

</b>

</caption>

<tr >

<th>Student Name</th>

<th>Roli No</th>

<th>Address</th>

<th>Marks</th>

</tr>

<tr>

<td>Amrita</td>

<td>l</td>

<td>Shastri Nagar</td>

<td>483</td>

</tr>

<tr>

<td>Taruna </td>

<td>2</td>

<td>T.P Nagar</td>

<td>4l8</td>

</tr>

<tr>

<td>Priyanka</td>

<td>3</td>

<td>Saket</td>

<td>489</td>

</tr>

</table>

</body>

</html>



Discussion

No Comment Found