The Web Page also can make the table.The general format is shown below:
<table>
<caption>Title</caption>
<tr><th>Heading 1<th>Heading 2<th>Heading 3<th>Heading 4 ...
<tr><td>Content 1,1<td>Content 1,2<td>Content 1,3<td>Content 1,4 ...
<tr><td>Content 2,1<td>Content 2,2<td>Content 2,3<td>Content 2,4 ...
</table>
Output :
Title
| Heading 1 | Heading 2 | Heading 3 | Heading 4 ...
|
|---|
| Content 1,1 | Content 1,2 | Content 1,3 | Content 1,4 ...
|
| Content 2,1 | Content 2,2 | Content 2,3 | Content 2,4 ...
|
<TABLE> -- It enclose all the content of the table.
<CAPTION> -- It used to add a title to the table.
<TR> -- It specifies a table row.
<TH> -- It is used to add the column heading.The font will be bolded.
<TD> -- It specifies the content of an individual cell in the table.
Previous Page   Next Page