When you make chart that be made up column and row, you can use table tag. It include table rows and table data and table title.
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 may have an associated caption (see the CAPTION element) that provides a short description of the table’s purpose. A longer description may also be provided for the benefit of people using speech or Braille-based user agents.
Table rows may be grouped into a head, foot, and body sections. Row groups convey additional structural information.
- <table> </table> To make chart
: bgcolour : Define chart’s background colour
Width : Define chart’s width % or px
Border : Define chart outline’s thickness
Cellpadding : Define between cell and cell’s inside’s margin
Cellspacing : Define between cell and cell
Align : If you put in this tag in table, you can define the table’s position but if you put in this tag in <tr> or <td>, you can define document’s position in the cell.
Ex>
Follow this example, I make table.
<html>
<head> <title> Hi, wkc! I’m studing about table. </head>
<body>
<table border=1 align=center bgcolor=pink width=400 cellpadding=20>
<caption> Kylie </cption>
<tr> <th> Mirim meister </th>
<th> WKC </th>
<tr height= 50>
<td> <a href=”mirimmeisterschool url> Mirim’s site </a>
<td> <a href=”wkc moodle url> WKC’s site </a> </tr>
<tr align=center height=50>
<td> HI
<td> HELLO </tr>
</table>
</body>
<html>
– Reference :