HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
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:
Example 1 HTML Table:

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

<table>
<tr>
<th> title 1 </th>
<th> title 2 </th>
</tr>
<tr>
<td>line 2- column 1</td>
<td>line 2- column 2</td>
</tr>
<tr>
<td>line 3- column 1</td>
<td>line 3- column 2</td>
</tr>
<tr>
<td>line 4- column 1</td>
<td>line 4- column 2</td>
</tr>
</table>
</body>
</html>
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
https://tutorialehtml.com/en/html-tutorial-code/

2133. HTML Tutorial - Input tag, text, password, checkbox, radio, submit, reset
INput tag aplications
https://tutorialehtml.com/en/html-tutorial-input-tag/

2669. Links : Image Links - HTML Tutorial
HTML links - HTML tutorial
http://www.echoecho.com/htmllinks06.htm

2666. Links : Link Targets - HTML Tutorial
HTML links - HTML tutorial
http://www.echoecho.com/htmllinks03.htm

2618. Basics : Head Section - HTML Tutorial
HTML basics - HTML tutorial
http://www.echoecho.com/htmlbasics04.htm

2159. HTML tutorials - Using bold tag, exemples
Using bold tag.
https://tutorialehtml.com/en/html-tutorials-bold-strong/

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