HTML table is defined with the <table> tag.
Some basics Tags used in
<caption> tag - It defines a table caption.
Some basics Tags used in
<table> tags, attribute & property:<tr> tag - It defines table row.
<th> tag - It defines table header (in <th> tag table headings are bold and centered).
<td> tag - It defines table data/cell.<caption> tag - It defines a table caption.
colspan attribute
– It is used to make a cell span many columns.
rowspan attribute
– It is used to make a cell span many rows.Border
property – It is used to define a border.
border-collapse property – It is used to collapse cell borders.
padding property
– It is used to add padding to cells.
text-align property – It is used to align cell text.



0 Comments