HTML Tutorial
						Menu
		
			
						HTML Forms
						Menu
		
			
						HTML Graphics
						Menu
		
			
						HTML Media
						Menu
		
			
						HTML API
						Menu
		
			
						Html Tables
Define an HTML Table
A table in HTML has table cells within rows and columns.
Example
				
					
A basic HTML table
 
  
    Company 
    Contact 
    Country 
   
  
    Alfreds Futterkiste 
    Maria Anders 
    Germany 
   
  
    Centro comercial Moctezuma 
    Francisco Chang 
    Mexico 
   
To understand the example better, we have added borders to the table.
				
			
		Output:
A basic HTML table
| Company | Contact | Country | 
|---|---|---|
| Alfreds Futterkiste | Maria Anders | Germany | 
| Centro comercial Moctezuma | Francisco Chang | Mexico | 
To understand the example better, we have added borders to the table.
Table Cells
A table in HTML has table cells within rows and columns.
Each table cell is illustrated by a <td> and a </td> tag.
td denotes table data.
Everything within <td> and </td> is the content of the table cell.
Table Rows
Each table row is startes with a <tr> and end with a </tr> tag.
tr denotes table row.
Table Headers
Using the <th> tag instead of the <td> tag allows you to make cells to be headers
