This article is Not Ready.
<table> element is a wrapper for an HTML table. It defines the start and end of a table, and can contain other table elements, such as
<table> element is a container for HTML table data, which is used to mark up tabular data. Tabular data is any data that can be systematically displayed in rows and columns, for example, "See table 3 for an example."
Tables were often used for laying out web pages because tables helped fix the position of text on the page, however, this use has become an outdated. We recommend you use
<span> for fixed layouts. You can still use tables for tabular data.
You might find working with an HTML table editor easier than coding tables by hand, unless you are especially adept at visualizing table row and columns using the appropriate HTML tags. It is easy to miss or drop a tag when coding tables manually, which will cause your table to be malformed.
Features Chrome Firefox Internet Explorer Opera Safari Basic support
Features Android Firefox Mobile IE Mobile Opera Mobile Safari Mobile Basic support
<table> <thead> <tr> <td> This text is in the thead. </td> </tr> </thead> <tbody> <tr> <td> This text is in the tbody. </td> </tr> </tbody> </table>
At the most simple level you need to use the following three groups of tags to create a basic table.1)
|creates a column space whileends the column space. These are usually nested inside a pair of|
|row 1 col 1||row 1 col 2|
|row 1 col 2||row 2 col 2|
|HTML 5.1||W3C Working Draft|
|HTML 5||W3C Recommendation|
|HTML 4.01||W3C Recommendation|