HTML table tag

<table border="1">
  <caption>Table Caption</caption>
    <th>Header 1</th>
    <th>Header 2</th>
    <td>Row 1 Cell 1</td>
    <td>Row 1 Cell 2</td>
    <td align="center">Row 2 Cell 1</td>
    <td align="right">Row 2 Cell 2</td>
    <td colspan="2">Row 3 Cell 1 and 2</td>
Table Caption
Header 1 Header 2
Row 1 Cell 1 Row 1 Cell 2
Row 2 Cell 1 Row 2 Cell 2
Row 3 Cell 1 and 2

<table> used for create tabular data.

<caption> represents title of table.

<tr> represents a row.

<th> represents header.

<td> represents data cell / column.

border : integer attribute, size of table frame.

align : represents alignment of contents.

colspan : make cell span multiple columns.

Copyright 2014-2017 by All Rights Reserved.