Professional Documents
Culture Documents
Tables
Tables
• HTML tables give us a way to represent data in
columns and rows like a spreadsheet
Table structure
• Tables are created using a combination of the
following tags
• <table> - this element is used to create the table
• <tr> - this is used to create a row of data within a
table
• <td> - this represents a cell of data within a table
• <th> - similar to <td> but used to represent the
headings in the table
Tutorial 3
• Create a page called tickets.html. Enter the html shown and
test the page in the browser
Cell Spacing and Cell Padding Attribute:
• Cell Spacing: Cell spacing is the space between each
cell, by default the space is set to 2 pixels.