Sunday, September 25, 2011

Table

Basic Usage Table Tables are commonly used in Web pages to beautify the look or to arrange for the information can be presented with an easy to read display. {<table>. . . </ TABLE> start and end of a table {<CAPTION>. . . </ CAPTION>} define the title on the table {<TR>. . . </ TR>} create a row in the table {<TD>. . . </ TD>} create a data cell {<th>. . . </ TH>} create column headings Giving Lines On Table Table can be equipped with lines for the columns and rows. For this purpose, you can use the BORDER attribute on the TABLE tag, with the following forms: <TABLE BORDER = "number"> If BORDER is not included in the tag <table>, value for BORDER is considered equal to zero, with the result that the line is not displayed. In other words, <table> Identical to: <TABLE BORDER = "0"> The title in Laying Down Table To display the title under the table, you can use the attribute ALIGN = "BOTTOM" on the tag <CAPTION>. Determining Table Background Color To add a background color to the table, you can use the BGCOLOR attribute on the tag <table>. Merge cells To combine multiple cell lines, you can use attributes on the tags <TD> ROWSPAN Setting the Table in page placement ALIGN attribute on the tag <TR>, <th>, and <TD> can be used to adjust the text placement in a state of the left, flush right, or centered.

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More