- Description
- Tag <TABLE> is a package for the elements, which define the content of the table. Any table consists from lines and cells, which are defined with the help of tags <TR> and <TD>. In the tag <TABLE> you may use the next elements: <caption>, <col>, <colgroup>, <tbody>,<td>,<tfoot>,<th>,<thead> and <tr>.
-
...
- Parametrs
- Alink defines the colour of the active link.
- Background sets the background image on the page.
- Bgcolor colour of web page background.
- Border border weight in pixels
- Bordercolor colour of the border
- Cellpadding indent from the border to the cell’s content
- Cellspacing distance between the cells
- Cols number of columns in the table
- Height height of the table
- Width table width
- Closing Tag
- Is optional.
-
The Description of Tag <TABLE> Parameters
- ALIGN Parameter
- Description
- Defines alignment of the table according to the border of the browser window.
-
...
- Arguments
- Left left alignment of the table
- Center center alignment of the table
- Right right alignment of the table
- Default value
- Left
- Analogue CSS
- Text-align
- BACKGROUND Parameter
- Description
- Defines the image, which will be used as a background image of the table. In contrast to regular images, width and height are not defined for the background. While choosing the background image, make sure the adequate contrast is set between it and the content of the web page. Animated images in GIF format can be used as a background, but they distract the reader’s attention.
-
...
- Arguments
- Any acceptable address of the image – full or absolute way can be used
- Default value
- No.
- Analogue CSS
- Background-image
- Description
- Defines the background colour of the table. This parameter can be used with the tag <background>, but use the background colour similar to the background image.
-
...
- The colour value can be defined in two ways.
- 1. By its title.
- Browsers support some colours by their titles.
- 2. By hexadecimal value.
- The numbers in the hexadecimal code are used for defining the colours. Hexadecimal system is based on the number 16. The numbers will be the following: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. The numbers from 10 to 15 are substituted for Latin letters. The numbers more than 15 in hexadecimal system are formed by addition two numbers to one.
- Default value
- Depends on the browser and its version, the white colour is used usually
- Analogue CSS
- Background-color
- BORDER Parameter
- Description
- Defines the border weight in pixels. The border is 3D by default. But if the BORDERCOLOR parameter of the tag <TABLE> is used, the border image depends on the browser. When parameter BORDER is used in the tag <TABLE> without arguments (<table border>), browser displays the border, the weight of which equals 1.
-
...
- Arguments
- Any positive integer
- Default value
- 0
- Analogue CSS
- Border
- BORDERCOLOR parameter
- Description
- Defines the border colour of the table. The border is drawn as 3D, adding of parameters bordercolor and border to the tag <TABLE> creates the one-colour line.
-
...
- Arguments
- See BGCOLOR parameter
- Default value
- Depends on the browser and operating system
- Analogue CSS
- Border-color
- CELLPADDING Parameter
- Description
- Defines the distance between bound of the cell and its content. This parameter adds the white to the cell and this way enlarges it. The adding of this parameter improves readability of the text.
-
...
- Arguments
- Any positive integral value in pixels or percents from the acceptable space.
- Default value
- 0
- CELLSPACING Parameter
- Description
- Defines the distance between external bounds of the cells. If the BORDER parameter is defined, the bound weight is taken into account.
-
...
- Arguments
- Any positive integer
- Default value
- 0 (if there is no BORDER parameter) 2 (if the BORDER parameter is set)
- COLS Parameter
- Description
- Defines the number of columns in the table. The use of this parameter accelerates the displaying of the table content.
-
...
- Arguments
- Any positive integer
- Default value
- No
- FRAME Parameter
- Description
- Informs the browser about the location of the bound around the table.
-
...
- Arguments
- Any positive integer
- Default value
- No
- Arguments
- Void not to redraw the bounds
- Border bound around the table
- Above top bound of the table
- Below bottom bound of the table
- Hsides to add only horizontal bounds
- Vsides to draw only vertical bounds
- Rhs bound on the right side of the table
- Lhs bound on the left side of the table
- Default value
- Border
- Analogue CSS
- Border
- HEIGHT Parameter
- Description
- Defines the height of the table. There is no such parameter in HTML 4 specification, but browsers in most cases support it, if the <!DOCTYPE> is not set. In this case they ignore the height of the table, which is defined by HEIGHT parameter.
-
...
- Arguments
- Any positive integer
- Default value
- The height is determined on basis of the table content
- Analogue CSS
- Height
- RULES Parameter
- Description
- Informs the browser where to display the bounds between the cells. Bound weight and its colour is indicated by BORDER and BORDERCOLOR parameters.
-
...
- Arguments
- All the line is drawn around the each cell of the table.
- Groups the line is displayed between the groups, which are created by tags <THEAD>, <TFOOT>, <TBODY>, <COLGROUP> or <COL>.
- Cols the line is displayed between the columns
- None all the bounds are hidden
- Rows the bound is drawn between table lines, which are created by tag <TR>.
- Default value
- None (if border="0"); all (if the value of border parameter is nonzero).
- Analogue CSS
- Border
- WIDTH Parameter
- Description
- Defines the width of the table.
-
...
- Arguments
- Any positive integral value in pixels or percents from the acceptable space.
- Default value
- The width is determined on basis of the table content.
- Analogue CSS
- width
- Email forms
- HTML forms
- PHP contact form
- File upload form


