Chapter 5

Ace your homework & exams now with Quizwiz!

By default, content in a table header cell is aligned:

both horizontally and vertically to the center of the cell.

The colspan and rowspan attributes of the <td> and <th> tags specify the number of columns and rows, respectively, that a certain element occupies. What is that element?

A table cell

Which choice correctly describes the relationship between tables and borders?

By default, borders do not appear around tables.

The CSS text-align property used for table elements:

aligns content horizontally in all table elements.

The CSS vertical-align property used for table elements:

aligns content vertically in all table elements.

What table element attribute do you need to specify to add a border to a table?

<table border="1">

Which of the following table element tags are required when you use the <table> tag to create a table?

Table row <tr> and table data <td>

According to HTML5 standards, which choice correctly describes the relationship between tables and Web page structure?

Tables should be used where appropriate to format content, but not to structure Web pages.

Which of the following defines the content of table cells?

The <td> tag

Which of the following defines a single table row?

The <tr> tag

Which CSS table property should you use if you want to combine the borders of adjacent cells into a single border instead of separating them?

The border-collapse property

Which of the following CSS table properties determines the amount of space between the borders of adjacent cells?

The border-spacing property

Consider the following code snippet: <tr> <th colspan="3"> Site Development Associate </th> </tr> Which choice most accurately describes the result of the code?

The heading is located in a cell that spans three columns of the table.

When you specify the height and width of table elements, what occurs when you set multiple values in multiple cells?

The highest value takes precedence.

Consider the following code snippet: <tr> <th rowspan="5"> Site Development Associate </th> </tr> Which choice most accurately describes the result of the code?

The row heading is located in a cell that vertically spans five rows of the table.

Which table element appears apart from the table itself, by default?

The table caption

With which CSS table property can you specify values of left, center, right and justify?

The text-align property

With which CSS table property can you specify values of top, bottom and middle?

The vertical-align property

By default, content in a table data cell is aligned:

horizontally to the left and vertically to the center of the cell.

Values for the CSS border-spacing and padding properties used for the <table> element can be specified:

in pixels.

The CSS padding property of the <table> element determines:

the amount of space between cell data and the cell border.


Related study sets

AP World History Unit 5 Questions

View Set

Ninth Grade Literature EOCT Review

View Set

Insurance-Based Products - Unit 15

View Set

Personal Finance Final: Major Purchases (Ch. 8, 9)

View Set

Evaluation of Transportation Modes - Chapter 7

View Set