HTML Table Tag
===================================================
Use the HTML <table>
element to define a table.
Use the HTML <tr>
element to define a table row.
Use the HTML <td> element
to define a table data.
Use the HTML <th>
element to define a table heading.
Use the HTML <caption>
element to define a table caption Use the CSS border property to define a
border.
Use the CSS border-collapse
property to collapse cell borders.
Use the CSS padding property
to add padding to cells.
Use the CSS text-align
property to align cell text.
====================================================
HTML Table Tags
Tag Description
<table> Defines a table
<th> Defines a header cell in a table
<tr> Defines a row in a table
<td> Defines a cell in a table
<caption> Defines a table caption
<colgroup> Specifies
a group of one or more columns in a table for
formatting
<col> Specifies column properties for each
column within a
<colgroup>
element
<thead> Groups the header
content in a table
<tbody> Groups the body content
in a table
<tfoot> Groups the footer
content in a table
====================================================
No comments:
Post a Comment