Computer Science, asked by sanjeetkr0588, 9 months ago

write a HTML program to insert a table and Enter Name ,Roll No , Address of 5 students of class 7B​

Answers

Answered by yashraj9317
38

Answer:

where in the coding it is written like add name or add roll no at that place u have to put your values like what name u would like to give it a name for example(Ayush) etc . hope it will help you

Attachments:
Answered by tiger009
25

HTML program is given below

Explanation:

The following are the program in the HTML Scripting Language.

<!DOCTYPE html>  

<html>  

<head>  

<style>  

 table, th, td {  

  border: 2px solid black;  

 }  

</style>  

</head>  

<body>  

<table style="width:100%">  

 <tr>  

  <th>Name</th>  

  <th>Roll no.</th>  

  <th>Address</th>  

 </tr>  

 <tr>  

  <td>Suraj</td>  

  <td>25</td>  

  <td>Banglore</td>  

 </tr>  

 <tr>  

  <td>Arjun</td>  

  <td>15</td>  

  <td>Chennai</td>  

 </tr>  

 <tr>  

  <td>Samarth</td>  

  <td>22</td>  

  <td>Kanpur</td>  

 </tr>  

</table>  

</body>  

</html>  

The following are the description of the program.

  • In the above program, we style the table by using the <style> tag then, style the border of the table.
  • Then, inside the <body> tag we set the table by the <table> tag and insert the following some details in the table by using <tr> tag and then, close all the tags.

Learn More:

  • brainly.in/question/8375152
Similar questions