How to create tabel with html? let's try with me friend's....
Tag <table> is one tag that has the most attributes. In a tag<table> also there are 2 tags that are essential are tagged <tr> </ tr>
to create and tag lines <td> </ td> to create columns. Tag <table>
is the tag that are important in designing a display site. So you have enough
mastered this tag.
Tables usually used to write data as an explanation of types and prices
goods, explains the difference from the type A and type B, and so on.
To create a table, html codes used are as follows:
code tag | Function tag |
<tr> </ tr> | Used To create a table row |
<td> </ td> | Used to create a column in the table |
<th> </ th> | Used for formatting the head table (Automatic writing letters to the middle and thick) |
<tbody> </ tbody> | format applies to cells in the wedge by the tag |
<colgroup> </ colgroup> | accepted format for the column |
Perhaps, the tag that I gave it enough for you in learning the use of tags
table (<table>).
Okay, then who will I give to all my friends .... To create a table as I indicate above, the code-the code is as follows:
<table align="center" border="1" bordercolor="blue" bgcolor="#CCFFFF cellpadding="8" cellspacing="0" width="25%"> <tr bgcolor="green"> <td align="center">code tags</td> <td align="center">FUnction tags</td> </tr> <tr> <td> <tr> </tr> </td> <td>used to make line in table tags.</td> </tr> <tr> <td> <td> </td></td> <td>used to make coloumn in table tags</td> </tr> <tr> <td> <th> </th></td> <td>used to make a format Header on the table tag (the font will automatic align center and print bold)</td> </tr> <tr> <td> <tbody> </tbody> </td> <td>to used for a cell format how to combine with other tags</td> </tr> <tr> <td> <colgroup> </colgroup> </td> <td>operative format for column in table.</td> </tr> </table> |
No comments:
Post a Comment