Le tabelle Os quadros Die Tabellen Tableaux HTML Tablas

Using Tables

Often, it is helpful to present information in a more structured manner than a list. Tables can display this information in rows and columns. The tables are defined as series of rows.

A table must follow the rules below:

  • The table is enclosed within the tags <TABLE> and </TABLE>.
  • The title of the table is enclosed within <CAPTION> </CAPTION>.
  • Each row is enclosed within <TR> </TR> (for Table Row).
  • The header cells are enclosed within <TH> </TH> (for Table Header).
  • The data in the each cell is enclosed within <TD> </TD> (Table Data).

Here is an example of an HTML table:

<TABLE BORDER="1">
<CAPTION>This is the title of the table</CAPTION>
<TR>
<TH> Title A1 </TH>
<TH> Title A2 </TH>
<TH> Title A3 </TH>
<TH> Title A4 </TH>
</TR>
<TR>
<TH> Title B1 </TH>
<TD> Value B2 </TD>
<TD> Value B3 </TD>
<TD> Value B4 </TD>
</TR>
</TABLE>

The results of this code:

This is the title of the table
Title A1 Title A2 Title A3 Title A4
Title B1 Value B2 Value B3 Value B4

Attributes

Attribute Tags it applies to Value Visual Effect
ALIGN THEAD
TBODY
TH
TR
TD
CENTER

LEFT

RIGHT

JUSTIFY

centred

Left

Right

Justified

CAPTION TOP

BOTTOM

Above

Below

VALIGN
(vertical alignment)
THEAD
TBODY
TH
TR
TD
TOP

MIDDLE

BOTTOM

Top

Middle

Bottom

BORDER=n TABLE   Border size
CELLPADDING=n TABLE   Leaves n pixels of space between cell contents and border
CELLSPACING=n TABLE   Thickness of the space in between cells
FLOAT TABLE RIGHT

LEFT

Position of text that follows </TABLE>
COLS=n TABLE   Number of columns
FRAME

(controls individual table frame elements)

TABLE NONE

top

BOTTOM

TOPBOT

SIDES

ALL

None

Above

Bottom

All on top

On the sides

All

RULES

(controls cell grid elements)

TABLE NONE

BASIC

ROWS

COLS

ALL

None

basic

Line

Column

All

COLSPAN THEAD
TBODY
TH
TR
TD
  Makes cells fill multiple adjacent columns
ROWSPAN THEAD
TBODY
TH
TR
TD
  Makes cells fill multiple adjacent rows


Last update on Thursday October 16, 2008 02:43:14 PM.This document entitled « Tables » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Best answers for « Tables » in :
ORA-00942: table or view does not exist Show ORA-00942: table or view does not exist In the case you encounter the following error message: a table or view entered does not exist, or unauthorized synonym was used, or an expression of view was used instead of a table name. YOu must...
[MySQL]Loading a text file into ue table Show [MySQL]Loading a text file into ue table To load a text file as follows: $ tail /home/user1/test.txt 'name1',1,9 'name2',2,3 'name3',3,54 'name4',4,2 'name5',5,9 In a table defined as follows: CREATE TABLE...
The Tablet PC ShowThe Tablet PC What is a Tablet PC? A Tablet PC: for whom and for what purpose? Tablet "slate" Convertible Tablet PC The price Criteria for choosing its Tablet PC New generation of Tablet PC What is a Tablet PC? More user...
Sorting a table without using the sort function ShowSorting a table without using the sort function Getting started Pseudocode The coding Getting started First of all we initialize a variable $ max with the 1st value of table. Then we will make a loop until the table still contains...
[MySQL]Show information on a table Show[MySQL]Show information on a table To view information on a TabTest table must run the following command (option\G improves formatting of the u outcome): mysql> show create table TabTest\G 1. row Table:...
Download Advanced Visual FoxPro To PDF Table Converter ShowDescription The application is published by Advanced Reliable Software. Simple and easy to use, the application has been awarded from various places. Advanced Visual Fox Pro To PDF Table Converter is a tool that enables you to execute SQL...
Download Softfuse Nice Tables ShowDescription The application is designed by SoftFuse Development. SoftFuse Nice Tables is a tool that enables to create attractive reports which will keep attention. Simple and easy to use, the application has been awarded from various popular places....
The NTFS file system ShowThe NTFS file system The NTFS file system (New Technology File System) is based on a structure called the "master file table" or MFT, which is able to hold detailed information on files. This system allows the use of long names, but, unlike the...
The Colour Table ShowCoding colours In HTML, colours are defined by three hexadecimal numbers, which represent the Red, Green, and Blue tones (using RGB coding) of the chosen colour. This is the syntax for coding a colour in HTML: color="#RRGGBB" RR, GG and BB each...
Tables ShowUsing Tables Often, it is helpful to present information in a more structured manner than a list. Tables can display this information in rows and columns. The tables are defined as series of rows. A table must follow the rules below: The table is...