Author: Web Admin in Marbella

HTML Table

Table contains columns and rows which are used to show the data in HTML. <table></table> are table tags. <table border=value></table> creates a table with borders. <tr></tr> are row tags. <td></td> are cell tags. Example: <html> <table border="1"> <tr> <td>Cell 1</td> <td>Cell 2</td> <td>Cell 3</td> </tr> <tr> <td>Cell 4</td> <td>Cell 5</td> <td>Cell 6</td> </tr> </table> </html> Output: Explanation: <table border="1"> creates a table with the border