Title Text Goes Here


Tables and the Border Attribute



Download 2.8 Mb.
View original pdf
Page34/37
Date16.06.2022
Size2.8 Mb.
#59010
1   ...   29   30   31   32   33   34   35   36   37
com-225-web-technology-theory
PURPOSE Defines a title to be used for the table positioned above the first row, by default. Use the attribute align="bottom" to place the caption below the last row.
PURPOSE Defines a table header cell. By default, the text is centered and is of bold type.
*** Attributes *** align" - left, center, right
- specifies the horizontal alignment of the contents of a cell. valign="" - top, middle, bottom
- specifies the vertical alignment of the contents of a cell. colspan="#"
- specifies the number of columns a cell will expand represented by #.

TYPE THE DOCUMENT TITLE
72 rowspan="#"
- specifies the number of rows a cell will expand represented by #. nowrap
- eliminates word wrapping in a cell. width"
- specifies the width of the cell. (pixel or percentage values) represented by #. height"
- specifies the height of the cell. (pixel of percentage values) represented by #. bgcolor="#hexValue"
- specifies the color of the background of the cell must use hexadecimal HTML color values as usual. background="imageURL" - specifies an image to be used as the background of the cell.
Headings in a Table
Headings in a table are defined with the

Download 2.8 Mb.

Share with your friends:
Tables and the Border Attribute
If you do not specify a border attribute the table will be displayed without any borders. Sometimes this can be useful, but most of the time, you want the borders to show. To display a table with borders, you will have to use the border attribute





Row 1, cell 1 Row 1, cell 2

tag.













Heading Another Heading
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2
How it looks in a browser
1   ...   29   30   31   32   33   34   35   36   37




The database is protected by copyright ©ininet.org 2024
send message

    Main page