Computer Science, asked by kirtikhubani387, 3 months ago

answer kardo please ..i will mark you as brainliest​

Attachments:

Answers

Answered by SushantMondal
0

Answer:

<!DOCTYPE html>

<html>

<head>

<style>

table {

 font-family: arial, sans-serif;

 border-collapse: collapse;

 width: 100%;

}

td, th {

 border: 1px solid #dddddd;

 text-align: left;

 padding: 8px;

}

tr:nth-child(even) {

 background-color: #dddddd;

}

</style>

</head>

<body>

<h2>HTML Table</h2>

<table>

 <tr>

   <th>S. No.</th>

   <th>Roll No.</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>

♕Please select my answer as the brainliest!

Similar questions