Introduction to tables in HTML
The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. - into rows and columns of cells.
Each table can be associated caption that provides a brief description of the purpose of the table. A longer description may also be provided (via the summary attribute) for people using Braille or user interface.
Table rows can be assembled in a section head, mouth and body (via the THEAD, TBODY and TFOOT, respectively). Row groups convey additional structural information and can be done by user agents in order to emphasize this structure. User agents may use the division head / body / foot to support scrolling of body panels are independent of the header and footer sections. When long tables are printed, the information the head and foot should be repeated on every page that contains table data.
Authors may also group columns to provide additional structural information that can be used in user agents. In addition, the authors may inform the property at the beginning of the columns of the table definition (via the COLGROUP and COL elements) in a way that allows users to do the representatives of the table little by little rather than waiting until all the table data to arrive before rendering.
Table cells may be a "header" or "information". Cells may span multiple rows and columns. HTML 4 table model allows authors to subscribe for each cell, so that non-visual browsers to communicate more easily with the header information of the cells for the user. Not only do these mechanisms are of great help for visually impaired users, wireless browser to allow multi-modal limited display capabilities to handle tables.
The tables should be used only as a means to layout document content as this may cause problems in making a non-visual media. In addition, when using graphics, tables may force users to scroll horizontally to view a table designed for a system with a larger screen. To minimize these problems, authors should use style sheets for layout instead of tables.
HTML Tables and the Border attribute:
If you do not specify an attribute of the border, the picture will be displayed without borders. Sometimes this can be useful, but mostly, we want the boundaries of the show.
You can see on the table, set the attribute on board:
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>