HOME | PHP Tutorial | CSS
facebook icon
PHP Tutorial

PHP forms
HTML Tutorial

CSS Tutorial

HTML Table

HTML Tutorial » HTML Table

To create tables in web pages we use the element <table> ... </table>, it includes four other sub-elements, which make up the structure of the table.

- Line (row) of Table <tr> ... </tr>
- Table title <th> ... </th>
- Table cells (form columns) <td> ... </td>
- Subtitle of the table <caption> ... </caption>

The rows in the table contain the table headings and elements for the table columns.
The data / content in the table is added within <td> .
Within the elements <th> and <td> other HTML elements can be added, such as text formatting, paragraphs, links or images.

HTML Table - examples

Example 1 HTML Table:

<!DOCTYPE html>
<title>HTML Table</title>

<th> title 1 </th>
<th> title 2 </th>
<td>line 2- column 1</td>
<td>line 2- column 2</td>
<td>line 3- column 1</td>
<td>line 3- column 2</td>
<td>line 4- column 1</td>
<td>line 4- column 2</td>
Note: The <td> elements are the data containers of the table.

html table HTML Table - html tutorial

2116. HTML Tutorial - Code format, computer code tag
How to write with computer formated code

2133. HTML Tutorial - Input tag, text, password, checkbox, radio, submit, reset
INput tag aplications

2669. Links : Image Links - HTML Tutorial
HTML links - HTML tutorial

2666. Links : Link Targets - HTML Tutorial
HTML links - HTML tutorial

2618. Basics : Head Section - HTML Tutorial
HTML basics - HTML tutorial

2159. HTML tutorials - Using bold tag, exemples
Using bold tag.

Your add here
PHP define() function

PHP strtoupper() function

PHP count() Function

PHP html_entity_decode() function

PHP trim() function

PHP strrchr() Function

PHP print() function

PHP htmlspecialchars_decode() function

PHP empty() Function

PHP lcfirst() function

PHP wordwrap() function

PHP substr() function

PHP htmlentities() function

PHP ucfirst() function

PHP ltrim() function

PHP similar_text() function

PHP if, else and elseif Statements
Beauty Templates
HTML Colors
Restaurants & Food
HTML Image Align
PHP Function, Creating PHP Function - how? - example