b) To create the following table in HTML document.
SNO
1
NAME
RAJVEER
DEV
MARKS
380
366
2
write the html coding
Answers
Answered by
2
Answer:
<html>
<head> <title> Marks of students </title> </head>
<body>
<table>
<tr>
<td> SNO </td>
<td> Name </td>
<td> Marks </td>
</tr>
<tr>
<td> 1 </td>
<td> RAJVEER </td>
<td> 380 </td>
</tr>
<tr>
<td> 2 </td>
<td>DEV </td>
<td> 366 </td>
</table>
</body>
</html>
Explanation:
Use of special tags:
- Table tag: It's a closed tag used to mark the beginning or the end of the table.
- Tr tag: Used to specify the table row.
- Td tag: Used to mention the data inside the cell.
Similar questions