CS102-Summary8

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Describe one coding technique that increases the accessibility of an HTML table.

Coding a caption element with a relevant description and configuring headers for columns and rows

Why should you configure a table with CSS properties instead of HTML attributes?

Provides for flexibility and easier maintenance

What is the purpose of using a table on a web page?

They are used to organize tabular information on a web page.

Which HTML tag pair is used to specify table headings? a. <td></td> b. <th></th> c. <head></head> d. <tr></tr>

b. <th></th>

Which CSS property specifies the distance between the cell text and the cell border? a. border-style b. padding c. border-spacing d. cellpadding

b. padding

How is the text contained within a th element displayed by the browser?

bold and centered

The CSS ____________ property can be used to configure the color and width of a table border.

border

List three elements that are used to group table rows.

thead tbody tfoot

The ________ CSS property specifies the vertical alignment of the contents of a cell in a table.

vertical-align

Which HTML element uses a border attribute to display a table with a border? a. <td> b. <tr> c. <table> d. <tableborder>

c. <table>

Use the ________ element to provide a brief description of a table that displays on the web page.

caption

_________ is an attribute of the td element that associates the table data cell with a table header cell.

headers

Use the ________ attribute to configure a table cell to occupy more than one row in the table.

rowspan

Which CSS pseudo-class applies to the first element of a specified type? a. :first-of-type b. :first-type c. :first-child d. :first

a. :first-of-type

Which of the following is the intended use of tables on web pages? a. configuring the layout of an entire page b. organizing information c. forming hyperlinks d. configuring a resume

b. organizing information

Which HTML attribute associates a table data cell with a table header cell? a. head b. headers c. align d. th

b. headers

Which HTML tag pair is used to group rows in the footer of a table? a. <footer></footer> b, <tr></tr> c. <tfoot></tfoot> d. <td></td>

c. <tfoot></tfoot>

which CSS property specifies the background color of a table? a. background b. bgcolor c. background-color d. table-color

c. background-color

Which CSS property eliminates the space between the borders on table cells? a. border-style b. padding c. border-spacing d. cellspacing

c. border-spacing

Which HTML tag pair is used to begin and end a table row? a. <td></td> b. <tbody></tbody> c. <table></table> d. <tr></tr>

d. <tr></tr>


Ensembles d'études connexes

ATI PN Nursing Care of Children 2020 Practice A

View Set

Unit 15: Agency in Real Estate Quiz

View Set

Monopolistic Competition Chapter 25 Practice

View Set

Chapter 36: Emergency Preparedness and Protective Practices

View Set

Business Strategy chapter 10 Connect Questions

View Set

Chapter 3. Cost-Volume-Profit Relationships

View Set

RN Pharmacology Online Practice 2023 A

View Set

Chapter 3 - Tax Treatment for C-Corporations

View Set