Labels

Monday, 21 December 2015

html code for table

html code for table
<table style="width:100%">
  <tr
<th>Heading </th>
  </tr>
  <tr
    <td>Ram</td>
    <td>Sita</td> 
    <td>50</td>
  </tr>
  <tr>
    <td>Hanuman</td>
    <td>Kishan</td> 
    <td>94</td>
  </tr>
</table>
Tables are defined with the <table> tag.
Tables are divided into table rows with the <tr> tag.
Table rows are divided into table data (Cell ) with the <td> tag.

A table row can also be divided into table headings with the <th> tag.

No comments:

Post a Comment