Computer Science, asked by helium87, 2 months ago

HOW CAN YOU MAKE A TABLE IN HTML?​

Answers

Answered by riddhima8
5

Answer:

Define an HTML Table

The <table> tag defines an HTML table.

Each table row is defined with a <tr> tag. Each table header is defined with a <th> tag. Each table data/cell is defined with a <td> tag.

By default, the text in <th> elements are bold and centered.

By default, the text in <td> elements are regular and left-aligned.

Attachments:
Answered by poojacherian427
1

Answer:

The <table> tag defines an HTML table.

Explanation:

<table style="width:100%">

 <tr>

   <th>Firstname</th>

   <th>Lastname</th>

   <th>Age</th>

 </tr>

 <tr>

   <td>Jyoti</td>

   <td>Kishor</td>

   <td>17</td>

 </tr>

 <tr>

   <td>Eliana</td>

   <td>James</td>

   <td>19</td>

 </tr>

</table>

Similar questions