Describe how HTML tables are used and the most commonly used table elements.
What will be an ideal response?
HTML tables are designed not only to present data properly in the browser window, but to be read sequentially by screen readers and other assistive devices. Some of the table features available to web designers include the ability to span rows and columns and to create table header cells that declare the contents of a column of data. The HTML table elements allow the arrangement of data into rows, cells, and columns. These are the most common table elements:
ELEMENT | DESCRIPTION |
table | Establishes the table; contains all other elements that specify caption, rows, and content |
tr | Table row; contains the table cells |
td | Table data cell; contains the table data |
th | Table header cell; contains header information for a column of data |
caption | Provides a short description of the table's contents |
thead | Signifies table header |
tbody | Signifies table body |
tfoot | Signifies table footer |
col | Specifies column properties |
colgroup | Specifies multiple column properties |
You might also like to view...
AJAX is often used to facilitate user interactions, such as offering typing suggestions as a user enters data in text boxes on a(n) ____________________ in a Web page.
Fill in the blank(s) with the appropriate word(s).
The study of the relationship between workers and their workspaces.
A. Censorship B. Ergonomics C. Digital footprint
In object-oriented programming, a function contained in a class is called which of the following?
A. variable function B. label function C. test function D. member function
The rand function returns an integer that is greater than or equal 0 but less than or equal to the value stored in which constant?
A. MAX B. NUMBER_MAX C. MAX_NUMBER D. RAND_MAX