Term
XHTML tables are used to structure tabular data |
|
Definition
|
|
Term
each row contains one or more data cells, defined with the <td> element |
|
Definition
|
|
Term
tables are defined in rows, using <tr> element |
|
Definition
|
|
Term
you can provide additional information about your tables with the table summary attribute, and teh <caption> element |
|
Definition
|
|
Term
table data cells can have padding, borders, and border spacing. Which is the space between cells |
|
Definition
|
|
Term
just like you can control the padding, borders and margins of elements you can control the padding, borders and border spacing of table cells with CSS |
|
Definition
|
|
Term
You can change the alignment of the data in your table cells with the text-align and vertical align CSS properties |
|
Definition
|
|
Term
you can add color to your tables with the background-color property. Background color can be added to the entire table, to each row or to a single data cell |
|
Definition
|
|
Term
Use the HTML table elements <table> <tr> <th> and <td> together to create a table |
|
Definition
|
|
Term
the <table> element defines and surrounds the entire table |
|
Definition
|
|
Term
tablea are defined in rows, using the <tr> element |
|
Definition
|
|
Term
If your data cell needs to span mulitple rows or columns you can use the rowspan or colespan attributes of the <td> element |
|
Definition
|
|
Term
Your can nest tables within tables by placing the <table> element and all its content inside a data cell |
|
Definition
|
|
Term
Tables should be sused for tabular data not for laying out your pages. Use CSS positioning to create multi-column page layouts as we described in Chapter 12 |
|
Definition
|
|
Term
Lists can be styled with CSS just liek any other element. There are a few CSS properties specific to lists, such as list-style-type and list-style-image |
|
Definition
|
|
Term
List-style-type allows your to change the type of the marker used in your list |
|
Definition
|
|
Term
List-style-image allows you to specify an image for your list marker |
|
Definition
|
|
Term
If you have no data for a data cell, put no content into the <td> element. You need to use a <td> </td> element to maintain the alignment of the table, however. |
|
Definition
|
|
Term
Tables are laid out in a grid. Each row corresponds to a <tr> </tr> row in your HTML and each column correstponds to the <td..</td> content within the rows. |
|
Definition
|
|