CBSE BOARD X, asked by akhil12373, 5 months ago

what is meant by data cell name the table tag in html ​

Answers

Answered by samm210820
7

Answer:

Definition and Usage

The <table> tag defines an HTML table. An HTML table consists of one <table> element and one or more <tr>, <th>, and <td> elements. The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell.

Answered by kanugulanavya1527
0

Answer:

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.

Explanation:

example:

<table style="width:100%">

 <tr>

   <th>Firstname</th>

   <th>Lastname</th>

   <th>Age</th>

 </tr>

 <tr>

   <td>Jill</td>

   <td>Smith</td>

   <td>50</td>

 </tr>

 <tr>

   <td>Eve</td>

   <td>Jackson</td>

   <td>94</td>

 </tr>

</table>

Similar questions