Exam 10: Data Tables
Give a code example of a basic table that uses a caption, a table header row, five columns and 6 total rows.
A basic table that uses a caption, a table header row, five columns and 6 total rows. is the result of the following code:
< table >
< caption >Best-Selling Albums Worldwide< /caption >
< tr >
< th >Artist< /th >
< th >Album< /th >
< th >Released< /th >
< th >Genre< /th >
< th >Sales (millions)< /th >
< /tr >
< tr >
< td >Michael Jackson< /td >
< td >Thriller< /td >
< td >1982< /td >
< td >Pop< /td >
< td >110< /td >
< /tr >
< tr >
< td >AC/DC< /td >
< td >Back in Black< /td >
< td >1980< /td >
< td >Hard Rock< /td >
< td >49< /td >
< /tr >
< tr >
< td >Pink Floyd< /td >
< td >The Dark Side of the Moon< /td >
< td >1973< /td >
< td >Rock< /td >
< td >45< /td >
< /tr >
< tr >
< td >Whitney Houston< /td >
< td >The Bodyguard< /td >
< td >1992< /td >
< td >Soundtrack< /td >
< td >44< /td >
< /tr >
< tr >
< td >Eagles< /td >
< td >Greatest Hits< /td >
< td >1976< /td >
< td >Rock< /td >
< td >42< /td >
< /tr >
< /table >
Which element do you use if you want to specify a header for a column of data?
D
By default, tables are displayed in the browser without ____________.
Which of the following is a property that can be applied to to the < colgroup > and < col > elements?
Use the ________________ property to remove the extra space between borders.
Using the ____ element as a selector applies a border only to the outside of a table.
Which attribute do you use with the < colgroup > element to set the number of columns specified in the group?
Which tag marks the beginning and end of each row of a table?
The < colgroup > element has a(n) ________ attribute that lets you set the number of columns specified in the group.
Borders can be applied to the whole table, to individual rows, and to individual cells.
Both < colgroup > and < col > elements must appear immediately before the opening < table > element or before the < caption > element if the table
contains a caption.
Both < colgroup > and < col > elements must appear immediately after the opening ____ element, or after the < caption > element if the table contains a caption.
Describe how HTML tables are used and the most commonly used table elements.
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)