limanza

< Td > tag :

Definition and Usage

The <td> tag defines a standard cell in an HTML table.

An HTML table has two kinds of cells:

  • Header cells - contains header information (created with the <th> element)
  • Standard cells - contains data (created with the <td> element)

The text in <th> elements are bold and centered by default.

The text in <td> elements are regular and left-aligned by default.


Example
< table width="450px" border="1" >
  < tr >
    < td width="450px" >
      Cell 1
    < /td >
    < td width="150px" >
      Cell 2
    < /td >

  < /tr >
  < tr >
    < td width="150px" >>
      Cell 3
    < /td >

  < /tr >

</table>
code بدون خاصيت rowspan
Cell 1 Cell2
Cell3

 

Copyright 2014. All rights reserved.
instagram