HTML Table Procedures
The following table describes HTML table procedures:
Procedure |
Description |
---|---|
html_caption |
Marks the start of a table caption by using the HTML <CAPTION> tag. Syntax:
Attributes: Defines the HTML attributes that are incorporated inside the HTML <CAPTION> tag. |
html_caption_end |
Marks the end of a table caption by using the HTML </CAPTION> tag. The end of a table caption is typically implied and not needed; however, you should specify it for completeness. Syntax:
|
html_table |
Marks the start of a table by using the HTML <TABLE> tag. Syntax:
Attributes: Defines the HTML attributes that are incorporated inside the HTML <TABLE> tag. Some common attributes include:
Example: Displaying database records in a tabular format. The html_caption_end, html_tr_end, html_td_end, and html_th_end procedures are used for completeness; however, they are typically implied and not needed.
|
html_table_end |
Marks the end of a table by using the HTML </TABLE> tag. Syntax:
|
html_td |
Marks the start of a new column in a table row by using the HTML <TD> tag. This tag specifies that the text that follows appears in the column. Syntax:
Attributes: Defines the HTML attributes that are incorporated inside the HTML <TD> tag. |
html_td_end |
Marks the end of a column in a table by using the HTML </TD> tag. The end of a column is typically implied and not needed; however, you should specify it for completeness. Syntax:
|
html_th |
Marks the start of a new column header in a table row by using the HTML <TH> tag. This tag specifies that the text that follows appears as the header of the column. Syntax:
Attributes: Defines the HTML attributes that are incorporated inside the HTML <TH> tag. |
html_th_end |
Marks the end of a column header in a table by using the HTML </TH> tag. The end of a column header is typically implied and not needed; however, you should specify it for completeness. Syntax:
|
html_tr |
Marks the start of a new row in a table by using the HTML <TR> tag. Syntax:
Attributes: Defines the HTML attributes that are incorporated inside the HTML <TR> tag. |
html_tr_end |
Marks the end of a row by using the HTML </TR> tag. The end of a row in a table is typically implied and not needed; however, you should specify it for completeness. Syntax:
|