Exam 10: Data Tables

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Give a code example of a basic table that uses a caption, a table header row, five columns and 6 total rows.

Free
(Essay)
4.8/5
(35)
Correct Answer:
Verified

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?

Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
Verified

D

Which element contains table data?

Free
(Multiple Choice)
4.9/5
(44)
Correct Answer:
Verified

B

By default, tables are displayed in the browser without ____________.

(Short Answer)
4.8/5
(31)

Which of the following is a property that can be applied to  to the < colgroup > and < col > elements?

(Multiple Choice)
4.9/5
(35)

Use the ________________ property to remove the extra space between borders.

(Short Answer)
4.9/5
(39)

By default, tables are displayed in the browser with ____.

(Multiple Choice)
4.9/5
(34)

Using the ____ element as a selector applies a border only to the outside of a table.

(Multiple Choice)
4.8/5
(34)

Column groups are always applied left to right in the table.

(True/False)
5.0/5
(37)

Which attribute do you use with the < colgroup > element to set the number of columns specified in the group?

(Multiple Choice)
4.8/5
(36)

Which tag marks the beginning and end of each row of a table?

(Multiple Choice)
4.7/5
(26)

What does the < tr > tag contain?

(Multiple Choice)
4.8/5
(36)

The < colgroup > element has a(n) ________ attribute  that lets you set the number of columns specified in the group.

(Short Answer)
4.9/5
(40)

Borders can be applied to the whole table, to individual rows, and to individual cells.

(True/False)
4.8/5
(34)

Rows can be grouped into head, body, and footer sections.

(True/False)
4.8/5
(25)

Both < colgroup > and < col > elements must appear  immediately before the opening < table > element or before the < caption > element if the table contains a caption.

(True/False)
4.8/5
(37)

Both < colgroup > and < col > elements must appear immediately after the opening ____ element, or after the < caption > element if the table contains a caption.

(Multiple Choice)
5.0/5
(41)

Describe how HTML tables are used and the most commonly used table elements.

(Essay)
4.8/5
(35)

Unlike other block-level elements, tables cannot be floated.

(True/False)
4.8/5
(37)

To which elements can you apply padding values?

(Multiple Choice)
4.8/5
(38)
Showing 1 - 20 of 50
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)