Computer Science, asked by KCkunal, 10 months ago

write html code to generate the following output​

Attachments:

Answers

Answered by riyana5
4

#hope it helps....... ^_^

Attachments:
Answered by Brainlyshchay
0

Q) Write html code to generate the following output​.

ANS) Code:

<!DOCTYPE html>

<html>

<head>

 <title>Html Table for KCkunal | Brainlyshchay</title>

 <style>

   table {

     font-family: arial, sans-serif;

     border-collapse: collapse;

     width: 450px;

   }

   td,

   th {

     border: 1px solid #dddddd;

     text-align: left;

     padding: 8px;

   }

   tr:nth-child(even) {

     background-color: #dddddd;

   }

 </style>

</head>

<body>

 <center>

   <h2>Your HTML Table</h2>

   <table>

     <tr>

       <th>ADMNO</th>

       <th>SNAME</th>

       <th>NAME</th>

       <th>DOB</th>

     </tr>

     <tr>

       <td>1110</td>

       <td>MANJIT</td>

       <td>RANJIT</td>

       <td>4-MAR-1998</td>

     </tr>

   </table>

 </center>

</body>

</html>

Output:

(In the photo :)

Attachments:
Similar questions