HTML Tables
Defining a Table
A table in HTML consists of table cells inside rows and columns.
<table>- Defines the table<tr>- Defines a table row<th>- Defines a table header<td>- Defines a table cell (data)
HTML
CSS
JS
Table Borders
If you don't specify a border for the table, it will be displayed without borders. You can add borders using CSS.
HTML
CSS
JS
Quick Quiz
Which tag is used to define a table row?
Enjoying these tutorials?