Computer Science, asked by davstudentkrish, 4 months ago

1. Write an HTML program to show the following output
Sr. No. Roll no. Name. Team
1. 1001. John. Red
2. 1002. Peter. Blue
3. 1003. Henry. Green​

Answers

Answered by Hacket
18

<!DOCTYPE html>

<html>

<head>

<title>ur_title</title>

</head>

<body>

<table style="width:100%">

<tr>

   <th>Sr no.</th>

   <th>Roll no.</th>

<th>Name</th>

<th>Team</th>

</tr>

<tr>

<td>1</td>

<td>1001</td>

<td>John</td>

<td>Red</td>

</tr>

<tr>

<td>2</td>

<td>1002</td>

<td>Peter</td>

<td>Blue</td>

</tr>

<tr>

<td>3</td>

<td>1003</td>

<td>Henry</td>

<td>Green</td>

</tr>

</table>

</body>

</html>

Answered by AdityaRaj2012Pubg
7

Answer:

<!DOCTYPE html>

<html>

<head>

<title>ur_title</title>

</head>

<body>

<table style="width:100%">

<tr>

   <th>Sr no.</th>

   <th>Roll no.</th>

<th>Name</th>

<th>Team</th>

</tr>

<tr>

<td>1</td>

<td>1001</td>

<td>John</td>

<td>Red</td>

</tr>

<tr>

<td>2</td>

<td>1002</td>

<td>Peter</td>

<td>Blue</td>

</tr>

<tr>

<td>3</td>

<td>1003</td>

<td>Henry</td>

<td>Green</td>

</tr>

</table>

</body>

</html>

Explanation:

Mark me as Brainliest.

Similar questions