Deck 6: Working With Tables and Columns Tutorial

Full screen (f)
exit full mode
Question
The th element is used to mark the data cells .
Use Space or
up arrow
down arrow
to flip the card.
Question
HTML supports three row groups, which define rows that belong to the table head, table border , or table body.
Question
Once columns are defined using the colgroup and col elements, individual columns can be identified using id and class attributes to apply CSS styles to specific columns.
Question
Header cells and data cells are types of table cells supported by web tables.
Question
The style rule columns: 250px 4; creates a layout of 4 columns with a minimum width of 250 pixels each.
Question
When a span attribute is not included, the col element references a single column.
Question
Spanning cells are created by adding div attributes to either td or th element.
Question
In column-span: span; property, span is either none to prevent spanning or all to enable the content to span across all of the columns.
Question
For widows property widows: value; value is the minimum number of lines stranded before a column break.
Question
A web table is an effective tool for organizing and classifying web page content.
Question
A web table can contain any number of thead and tfoot elements but only one tbody element.
Question
A class attribute can be included by placing a table in the schedule class to distinguish it from other tables that may exist on a website.
Question
A web table contains multiple table rows with each row consisting of one or more table cells.
Question
The style rules applied to an entire web table are the ones with the lowest precedence.
Question
Only one caption is allowed per web table.
Question
The style rule border-spacing: 10px; specifies that all borders within a table should be separated by a distance of 10 pixels.
Question
Columns and column groups accept only CSS style properties to modify the column borders, background, width, and visibility.
Question
While treating an entire definition list as a table, the div elements act as table rows and both the definition term and the descriptions act as table cells within that row.
Question
The default browser style for data cells is to display text as unformatted text and left-aligned within the cell.
Question
A table has one row with four cells and another row with five. After mapping the cells, the table will have five columns.
Question
Which of the following HTML attributes is used to create a single cell that occupies more than one cell from a series of horizontal cells?

A) rowwidth
B) colspan
C) rowspan
D) colwidth
Question
Which of the following HTML tags is used to set the width of a table border?

A) < table border="value">
B) < /table width="value">
C) < /table border="value">
D) < table width="value">
Question
<strong>  In the given figure, Box A refers to _____.</strong> A) the second cell in column two that spans across two rows B) the second cell in rows two and three that spans seven columns C) the second cell in row one that spans seven columns D) the second cell in rows two and three that spans two columns <div style=padding-top: 35px> In the given figure, Box A refers to _____.

A) the second cell in column two that spans across two rows
B) the second cell in rows two and three that spans seven columns
C) the second cell in row one that spans seven columns
D) the second cell in rows two and three that spans two columns
Question
When two adjacent 1-pixel-wide borders are collapsed together, the width of the resulting border is _____.

A) 2-pixels
B) 1 -pixels
C) 4 -pixels
D) 0.5-pixel
Question
Which of the following statements is true of adding adjacent borders, to a table, using CSS?

A) A border style of none is overridden by the same border style.
B) A narrow border takes priority over a wider border if neither is hidden .
C) The border style with the highest priority is used if the two borders have the same width but different styles.
D) The color of the element in the table with the lower priority takes precedence, if the borders differ only in color.
Question
Which of the following HTML elements is used to create a table title?

A) < table>
B) < caption>
C) < style>
D) < span>
Question
<strong>  In the given figure, the items marked Box A and Box B are the _____ respectively.</strong> A) row cells and column cells B) header cells and data cells C) header cells and row cells D) data cells and column cells <div style=padding-top: 35px> In the given figure, the items marked Box A and Box B are the _____ respectively.

A) row cells and column cells
B) header cells and data cells
C) header cells and row cells
D) data cells and column cells
Question
<strong>   style=font-size: 11pt; The given figure is an example of the _____ borders model.</strong> A) collapsed B) separate C) inherit D) initial <div style=padding-top: 35px> " style="font-size: 11pt; The given figure is an example of the _____ borders model.

A) collapsed
B) separate
C) inherit
D) initial
Question
The two types of table cells supported by web tables are _____.

A) row cells and column cells
B) header cells and data cells
C) border cells and caption cells
D) legend cells and web cells
Question
Which of the following is true of class in the table tag ?

A) class is an attribute.
B) class is an tag.
C) class is an function.
D) class is an label.
Question
A table contains five columns where one of the cells in a row spans three columns. Identify the number of table cells that will exist in that row.

A) Five
B) Four
C) Three
D) Six
Question
Which of the following is a default value for border-collapse property?

A) border-collapse: separate;
B) border-collapse: collapse;
C) border-collapse: inherit;
D) border-collapse: initial;
Question
The _____ attribute is added to a element to create a cell that spreads across several cells vertically.

A) cellspacing
B) cellpadding
C) colspan
D) rowspan
Question
What is the purpose of colspan in ?

A) It sets each cell to span seven rows within its column.
B) It sets each cell to span seven columns within its row.
C) It sets each cell to span the eighth column within its row into equal parts.
D) It sets each cell to span the eighth row within its column into equal parts.
Question
Which of the following HTML elements is used to create header cells in a web table?

A) < tr>
B) < td>
C) < th>
D) < head>
Question
Which of the following HTML structures arranges text in multiple rows and columns?

A) < div>
B) < table>
C) < span>
D) < nav>
Question
The default browser style for header cells is to display the text of the header in bold font and _____ within the cell.

A) left-aligned
B) right-aligned
C) centered horizontally
D) positioned vertically
Question
_____ is a single cell that occupies more than one cell row and/or column.

A) Data cell
B) Header cell
C) Table cell
D) Spanning cell
Question
Data cells that do not function as headers for table rows or columns are marked using the _____ element.

A) td
B) th
C) tt
D) tr
Question
Which of the following HTML elements is used to add a row in a table?

A) < td>
B) < tr>
C) < dd>
D) < tl>
Question
Which of the following table objects has the highest precedence in terms of style?

A) Table cells
B) Rows
C) Columns
D) Table
Question
Which of the following properties prevents the spanning of content across all the columns?

A) column-span: all;
B) column-span: none;
C) column-span: initial;
D) column-span: inherit;
Question
To insert the information of the data-label attribute directly before the data cell value, the _____ property is used.

A) content
B) position
C) padding
D) display
Question
Which of the following is true of row groups that are defined in an HTML table?

A) The thead element must appear first, followed by the tbody element, and finally the tfoot element.
B) A table can contain only one thead and tfoot element but can have numerous tbody elements.
C) A table can contain only one tbody element which is added between thead and tfoot element.
D) The tbody appears before tfoot to allow the browser to render the body before receiving numerous of tfoot rows.
Question
Identify a property that is used to separate one column from the next using graphic dividing line.

A) column-rule
B) column-count
C) column-width
D) column-gap
Question
The columns within the colgroup element are identified by the _____ element.

A) < span column="value"/>
B) < colspan="value"/>
C) < col-span="type"/>
D) < spancol="type"/>]
Question
Which of the following CSS properties is used to align the caption text horizontally?

A) text-align
B) caption-position
C) caption-align
D) text-side
Question
Identify the first step to create a responsive web table that relies only on CSS.

A) Change the table layout so that each table object is rendered as a block element.
B) Add a text of data labels as attributes of all of the td elements in the table body.
C) Use relative positioning to place each data cell with a large left padding to insert data label text.
D) Add the content of the data label attribute before the data cell value.
Question
Identify a true statement to determine the number of columns in a web table.

A) The number of columns is equal to number of caption elements.
B) The number of columns is equal to number of rows in a web table.
C) The number of columns is the number of cells within the table rows.
D) The number of columns is the total number of cells in a web table.
Question
By default, a browser places a table caption _____.

A) below the table
B) in the first row of the table
C) above the table
D) in the first cell of the table
Question
Which of the following statements is true of row groups?

A) The rows are determined based on the total number of cells within a table.
B) The individual rows are determined using only the class attribute.
C) The row groups are used to create different styles for groups of rows in a table.
D) The row groups are used in different applications where the table content is only from internal data sources.
Question
<strong>  In the given figure, identify the row group element Box A.</strong> A) tbody B) tfoot C) thead D) tcell <div style=padding-top: 35px> In the given figure, identify the row group element Box A.

A) tbody
B) tfoot
C) thead
D) tcell
Question
Identify a style property that creates a column size of 200-pixels.

A) column-count
B) column-control
C) column-width
D) column-gap
Question
Identify a CSS property to place a table caption.

A) caption-side: position;
B) caption-width: position;
C) caption-align: position;
D) caption-fit: position;
Question
When a style for a table element is created by setting the font color to red, _____.

A) the caption text will be displayed in a red font
B) the caption text will be displayed in black font
C) the caption text will be displayed in the same color as the previous table
D) the caption text will be displayed in the same color as the border
Question
Which of the following is an equivalent HTML element for display: table-cell; style?

A) < th>
B) < table>
C) < col>
D) < tr>
Question
Identify the three row groups supported by HTML.

A) thead , tfoot , and tborder
B) thead , tbody , and tfoot
C) thead, tborder , and tbody
D) thead, tfoot , and tcell
Question
When the width of an entire table is set to be larger than the width required for individual columns, the extra space is _____.

A) added to the first column of the table
B) divided equally among the columns
C) added to the last column of the table
D) filled out as a border of the table
Question
Consider the following code. How many columns does the element create?

A) Two
B) One
C) Four
D) Three
Question
Which of the following styles sets the column breaks within paragraphs to leave a minimum of two and three lines at the top and bottom of each column respectively?

A) article p { break-before: always; }
B) article p { break-before: always; }
C) article p { orphans: 3; widows: 2; }
D) article p { break-inside: auto; }
Question
Case-Based Critical Thinking Questions Case 6.1 Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Which of the following properties must Andy use to set the gap between the borders created by using the border-collapse property?

A) border-spacing: value;
B) border-spacing: value;
C) border: length;
D) border: width;
Question
Match between columns
It is placed at the start of each row to identify the row content.
td element
It is placed at the start of each row to identify the row content.
widows property
It is placed at the start of each row to identify the row content.
Separate borders model
It is placed at the start of each row to identify the row content.
Table footer row group
It is placed at the start of each row to identify the row content.
Data attributes
It is placed at the start of each row to identify the row content.
vertical-align property
It is placed at the start of each row to identify the row content.
Spanning cells
It is placed at the start of each row to identify the row content.
Header cell
It is placed at the start of each row to identify the row content.
Responsive table design
It is placed at the start of each row to identify the row content.
Column width
It is used to move the cell text in a table.
td element
It is used to move the cell text in a table.
widows property
It is used to move the cell text in a table.
Separate borders model
It is used to move the cell text in a table.
Table footer row group
It is used to move the cell text in a table.
Data attributes
It is used to move the cell text in a table.
vertical-align property
It is used to move the cell text in a table.
Spanning cells
It is used to move the cell text in a table.
Header cell
It is used to move the cell text in a table.
Responsive table design
It is used to move the cell text in a table.
Column width
It a line of text placed at the top of a column.
td element
It a line of text placed at the top of a column.
widows property
It a line of text placed at the top of a column.
Separate borders model
It a line of text placed at the top of a column.
Table footer row group
It a line of text placed at the top of a column.
Data attributes
It a line of text placed at the top of a column.
vertical-align property
It a line of text placed at the top of a column.
Spanning cells
It a line of text placed at the top of a column.
Header cell
It a line of text placed at the top of a column.
Responsive table design
It a line of text placed at the top of a column.
Column width
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
td element
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
widows property
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Separate borders model
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Table footer row group
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Data attributes
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
vertical-align property
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Spanning cells
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Header cell
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Responsive table design
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Column width
The table features are hidden as it does not use the table header or footer.
td element
The table features are hidden as it does not use the table header or footer.
widows property
The table features are hidden as it does not use the table header or footer.
Separate borders model
The table features are hidden as it does not use the table header or footer.
Table footer row group
The table features are hidden as it does not use the table header or footer.
Data attributes
The table features are hidden as it does not use the table header or footer.
vertical-align property
The table features are hidden as it does not use the table header or footer.
Spanning cells
The table features are hidden as it does not use the table header or footer.
Header cell
The table features are hidden as it does not use the table header or footer.
Responsive table design
The table features are hidden as it does not use the table header or footer.
Column width
It acts like the basis value for items in a flexbox.
td element
It acts like the basis value for items in a flexbox.
widows property
It acts like the basis value for items in a flexbox.
Separate borders model
It acts like the basis value for items in a flexbox.
Table footer row group
It acts like the basis value for items in a flexbox.
Data attributes
It acts like the basis value for items in a flexbox.
vertical-align property
It acts like the basis value for items in a flexbox.
Spanning cells
It acts like the basis value for items in a flexbox.
Header cell
It acts like the basis value for items in a flexbox.
Responsive table design
It acts like the basis value for items in a flexbox.
Column width
They are created by adding the rowspan and colspan attributes to either td or th elements.
td element
They are created by adding the rowspan and colspan attributes to either td or th elements.
widows property
They are created by adding the rowspan and colspan attributes to either td or th elements.
Separate borders model
They are created by adding the rowspan and colspan attributes to either td or th elements.
Table footer row group
They are created by adding the rowspan and colspan attributes to either td or th elements.
Data attributes
They are created by adding the rowspan and colspan attributes to either td or th elements.
vertical-align property
They are created by adding the rowspan and colspan attributes to either td or th elements.
Spanning cells
They are created by adding the rowspan and colspan attributes to either td or th elements.
Header cell
They are created by adding the rowspan and colspan attributes to either td or th elements.
Responsive table design
They are created by adding the rowspan and colspan attributes to either td or th elements.
Column width
It is used to mark table cell content that is not the head of a row or column.
td element
It is used to mark table cell content that is not the head of a row or column.
widows property
It is used to mark table cell content that is not the head of a row or column.
Separate borders model
It is used to mark table cell content that is not the head of a row or column.
Table footer row group
It is used to mark table cell content that is not the head of a row or column.
Data attributes
It is used to mark table cell content that is not the head of a row or column.
vertical-align property
It is used to mark table cell content that is not the head of a row or column.
Spanning cells
It is used to mark table cell content that is not the head of a row or column.
Header cell
It is used to mark table cell content that is not the head of a row or column.
Responsive table design
It is used to mark table cell content that is not the head of a row or column.
Column width
It appears before the table body group.
td element
It appears before the table body group.
widows property
It appears before the table body group.
Separate borders model
It appears before the table body group.
Table footer row group
It appears before the table body group.
Data attributes
It appears before the table body group.
vertical-align property
It appears before the table body group.
Spanning cells
It appears before the table body group.
Header cell
It appears before the table body group.
Responsive table design
It appears before the table body group.
Column width
They are often used for database applications that read the contents of HTML files.
td element
They are often used for database applications that read the contents of HTML files.
widows property
They are often used for database applications that read the contents of HTML files.
Separate borders model
They are often used for database applications that read the contents of HTML files.
Table footer row group
They are often used for database applications that read the contents of HTML files.
Data attributes
They are often used for database applications that read the contents of HTML files.
vertical-align property
They are often used for database applications that read the contents of HTML files.
Spanning cells
They are often used for database applications that read the contents of HTML files.
Header cell
They are often used for database applications that read the contents of HTML files.
Responsive table design
They are often used for database applications that read the contents of HTML files.
Column width
Question
Case-Based Critical Thinking Questions Case 6.2 Luis has created a web page for a textile industry. When viewing the web page on a different computer, Luis notices a difference in the web page layout. So he decided to make changes in the code to make the layout suitable on all computers. Which of the following properties helps Luis in making the content on the web page more readable by spreading the content into a specific number of columns on a single page?

A) column-span;
B) column-count;
C) column-collapse;
D) column-control;
Question
What are the CSS properties that are used to manage column breaks?
Question
Case-Based Critical Thinking Questions Case 6.1 Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Andy has created a table for product details where the names of the products and prices of the products are the headers of the table. Which of the following style rules should he add to place a border of 10-pixels around the table with a white background?

A) table.product {background: white; border: 10px; width: 100%;}
B) table.product {border: 10px, white; width: 100%;}
C) table.product {background: white, 10px; width: 100%;}
D) table.product {border: white; width: 100%;}
Question
Write an HTML code to create a table with three rows and two columns. Add appropriate headers and enter the data into the table.
Question
Explain table row group elements and the order that should be maintained when writing an HTML code.
Question
Case-Based Critical Thinking Questions Case 6.1 Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Andy wants the borders to be distinctly visible for each cell in the product details table. Which of the following properties must Andy add to his code to accomplish his goal?

A) border-spacing: length;
B) border-collapse: separate;
C) border-collapse: collapse;
D) border-spacing: initial;
Question
Case-Based Critical Thinking Questions Case 6.2 Luis has created a web page for a textile industry. When viewing the web page on a different computer, Luis notices a difference in the web page layout. So he decided to make changes in the code to make the layout suitable on all computers. Luis has created a table to include the definitions of manufacturing tools used in the industry. He wants to add a space between each column cell of the definition for better understanding. Identify a property that Luis should include in the code to fulfill the requirement.

A) column-gap;
B) column-align
C) column-count;
D) column-space;
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/69
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 6: Working With Tables and Columns Tutorial
1
The th element is used to mark the data cells .
False
2
HTML supports three row groups, which define rows that belong to the table head, table border , or table body.
False
3
Once columns are defined using the colgroup and col elements, individual columns can be identified using id and class attributes to apply CSS styles to specific columns.
True
4
Header cells and data cells are types of table cells supported by web tables.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
5
The style rule columns: 250px 4; creates a layout of 4 columns with a minimum width of 250 pixels each.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
6
When a span attribute is not included, the col element references a single column.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
7
Spanning cells are created by adding div attributes to either td or th element.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
8
In column-span: span; property, span is either none to prevent spanning or all to enable the content to span across all of the columns.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
9
For widows property widows: value; value is the minimum number of lines stranded before a column break.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
10
A web table is an effective tool for organizing and classifying web page content.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
11
A web table can contain any number of thead and tfoot elements but only one tbody element.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
12
A class attribute can be included by placing a table in the schedule class to distinguish it from other tables that may exist on a website.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
13
A web table contains multiple table rows with each row consisting of one or more table cells.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
14
The style rules applied to an entire web table are the ones with the lowest precedence.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
15
Only one caption is allowed per web table.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
16
The style rule border-spacing: 10px; specifies that all borders within a table should be separated by a distance of 10 pixels.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
17
Columns and column groups accept only CSS style properties to modify the column borders, background, width, and visibility.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
18
While treating an entire definition list as a table, the div elements act as table rows and both the definition term and the descriptions act as table cells within that row.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
19
The default browser style for data cells is to display text as unformatted text and left-aligned within the cell.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
20
A table has one row with four cells and another row with five. After mapping the cells, the table will have five columns.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following HTML attributes is used to create a single cell that occupies more than one cell from a series of horizontal cells?

A) rowwidth
B) colspan
C) rowspan
D) colwidth
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following HTML tags is used to set the width of a table border?

A) < table border="value">
B) < /table width="value">
C) < /table border="value">
D) < table width="value">
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
23
<strong>  In the given figure, Box A refers to _____.</strong> A) the second cell in column two that spans across two rows B) the second cell in rows two and three that spans seven columns C) the second cell in row one that spans seven columns D) the second cell in rows two and three that spans two columns In the given figure, Box A refers to _____.

A) the second cell in column two that spans across two rows
B) the second cell in rows two and three that spans seven columns
C) the second cell in row one that spans seven columns
D) the second cell in rows two and three that spans two columns
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
24
When two adjacent 1-pixel-wide borders are collapsed together, the width of the resulting border is _____.

A) 2-pixels
B) 1 -pixels
C) 4 -pixels
D) 0.5-pixel
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following statements is true of adding adjacent borders, to a table, using CSS?

A) A border style of none is overridden by the same border style.
B) A narrow border takes priority over a wider border if neither is hidden .
C) The border style with the highest priority is used if the two borders have the same width but different styles.
D) The color of the element in the table with the lower priority takes precedence, if the borders differ only in color.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
26
Which of the following HTML elements is used to create a table title?

A) < table>
B) < caption>
C) < style>
D) < span>
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
27
<strong>  In the given figure, the items marked Box A and Box B are the _____ respectively.</strong> A) row cells and column cells B) header cells and data cells C) header cells and row cells D) data cells and column cells In the given figure, the items marked Box A and Box B are the _____ respectively.

A) row cells and column cells
B) header cells and data cells
C) header cells and row cells
D) data cells and column cells
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
28
<strong>   style=font-size: 11pt; The given figure is an example of the _____ borders model.</strong> A) collapsed B) separate C) inherit D) initial " style="font-size: 11pt; The given figure is an example of the _____ borders model.

A) collapsed
B) separate
C) inherit
D) initial
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
29
The two types of table cells supported by web tables are _____.

A) row cells and column cells
B) header cells and data cells
C) border cells and caption cells
D) legend cells and web cells
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following is true of class in the table tag ?

A) class is an attribute.
B) class is an tag.
C) class is an function.
D) class is an label.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
31
A table contains five columns where one of the cells in a row spans three columns. Identify the number of table cells that will exist in that row.

A) Five
B) Four
C) Three
D) Six
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
32
Which of the following is a default value for border-collapse property?

A) border-collapse: separate;
B) border-collapse: collapse;
C) border-collapse: inherit;
D) border-collapse: initial;
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
33
The _____ attribute is added to a element to create a cell that spreads across several cells vertically.

A) cellspacing
B) cellpadding
C) colspan
D) rowspan
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
34
What is the purpose of colspan in ?

A) It sets each cell to span seven rows within its column.
B) It sets each cell to span seven columns within its row.
C) It sets each cell to span the eighth column within its row into equal parts.
D) It sets each cell to span the eighth row within its column into equal parts.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following HTML elements is used to create header cells in a web table?

A) < tr>
B) < td>
C) < th>
D) < head>
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
36
Which of the following HTML structures arranges text in multiple rows and columns?

A) < div>
B) < table>
C) < span>
D) < nav>
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
37
The default browser style for header cells is to display the text of the header in bold font and _____ within the cell.

A) left-aligned
B) right-aligned
C) centered horizontally
D) positioned vertically
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
38
_____ is a single cell that occupies more than one cell row and/or column.

A) Data cell
B) Header cell
C) Table cell
D) Spanning cell
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
39
Data cells that do not function as headers for table rows or columns are marked using the _____ element.

A) td
B) th
C) tt
D) tr
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
40
Which of the following HTML elements is used to add a row in a table?

A) < td>
B) < tr>
C) < dd>
D) < tl>
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
41
Which of the following table objects has the highest precedence in terms of style?

A) Table cells
B) Rows
C) Columns
D) Table
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
42
Which of the following properties prevents the spanning of content across all the columns?

A) column-span: all;
B) column-span: none;
C) column-span: initial;
D) column-span: inherit;
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
43
To insert the information of the data-label attribute directly before the data cell value, the _____ property is used.

A) content
B) position
C) padding
D) display
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
44
Which of the following is true of row groups that are defined in an HTML table?

A) The thead element must appear first, followed by the tbody element, and finally the tfoot element.
B) A table can contain only one thead and tfoot element but can have numerous tbody elements.
C) A table can contain only one tbody element which is added between thead and tfoot element.
D) The tbody appears before tfoot to allow the browser to render the body before receiving numerous of tfoot rows.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
45
Identify a property that is used to separate one column from the next using graphic dividing line.

A) column-rule
B) column-count
C) column-width
D) column-gap
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
46
The columns within the colgroup element are identified by the _____ element.

A) < span column="value"/>
B) < colspan="value"/>
C) < col-span="type"/>
D) < spancol="type"/>]
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
47
Which of the following CSS properties is used to align the caption text horizontally?

A) text-align
B) caption-position
C) caption-align
D) text-side
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
48
Identify the first step to create a responsive web table that relies only on CSS.

A) Change the table layout so that each table object is rendered as a block element.
B) Add a text of data labels as attributes of all of the td elements in the table body.
C) Use relative positioning to place each data cell with a large left padding to insert data label text.
D) Add the content of the data label attribute before the data cell value.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
49
Identify a true statement to determine the number of columns in a web table.

A) The number of columns is equal to number of caption elements.
B) The number of columns is equal to number of rows in a web table.
C) The number of columns is the number of cells within the table rows.
D) The number of columns is the total number of cells in a web table.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
50
By default, a browser places a table caption _____.

A) below the table
B) in the first row of the table
C) above the table
D) in the first cell of the table
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
51
Which of the following statements is true of row groups?

A) The rows are determined based on the total number of cells within a table.
B) The individual rows are determined using only the class attribute.
C) The row groups are used to create different styles for groups of rows in a table.
D) The row groups are used in different applications where the table content is only from internal data sources.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
52
<strong>  In the given figure, identify the row group element Box A.</strong> A) tbody B) tfoot C) thead D) tcell In the given figure, identify the row group element Box A.

A) tbody
B) tfoot
C) thead
D) tcell
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
53
Identify a style property that creates a column size of 200-pixels.

A) column-count
B) column-control
C) column-width
D) column-gap
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
54
Identify a CSS property to place a table caption.

A) caption-side: position;
B) caption-width: position;
C) caption-align: position;
D) caption-fit: position;
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
55
When a style for a table element is created by setting the font color to red, _____.

A) the caption text will be displayed in a red font
B) the caption text will be displayed in black font
C) the caption text will be displayed in the same color as the previous table
D) the caption text will be displayed in the same color as the border
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
56
Which of the following is an equivalent HTML element for display: table-cell; style?

A) < th>
B) < table>
C) < col>
D) < tr>
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
57
Identify the three row groups supported by HTML.

A) thead , tfoot , and tborder
B) thead , tbody , and tfoot
C) thead, tborder , and tbody
D) thead, tfoot , and tcell
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
58
When the width of an entire table is set to be larger than the width required for individual columns, the extra space is _____.

A) added to the first column of the table
B) divided equally among the columns
C) added to the last column of the table
D) filled out as a border of the table
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
59
Consider the following code. How many columns does the element create?

A) Two
B) One
C) Four
D) Three
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
60
Which of the following styles sets the column breaks within paragraphs to leave a minimum of two and three lines at the top and bottom of each column respectively?

A) article p { break-before: always; }
B) article p { break-before: always; }
C) article p { orphans: 3; widows: 2; }
D) article p { break-inside: auto; }
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
61
Case-Based Critical Thinking Questions Case 6.1 Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Which of the following properties must Andy use to set the gap between the borders created by using the border-collapse property?

A) border-spacing: value;
B) border-spacing: value;
C) border: length;
D) border: width;
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
62
Match between columns
It is placed at the start of each row to identify the row content.
td element
It is placed at the start of each row to identify the row content.
widows property
It is placed at the start of each row to identify the row content.
Separate borders model
It is placed at the start of each row to identify the row content.
Table footer row group
It is placed at the start of each row to identify the row content.
Data attributes
It is placed at the start of each row to identify the row content.
vertical-align property
It is placed at the start of each row to identify the row content.
Spanning cells
It is placed at the start of each row to identify the row content.
Header cell
It is placed at the start of each row to identify the row content.
Responsive table design
It is placed at the start of each row to identify the row content.
Column width
It is used to move the cell text in a table.
td element
It is used to move the cell text in a table.
widows property
It is used to move the cell text in a table.
Separate borders model
It is used to move the cell text in a table.
Table footer row group
It is used to move the cell text in a table.
Data attributes
It is used to move the cell text in a table.
vertical-align property
It is used to move the cell text in a table.
Spanning cells
It is used to move the cell text in a table.
Header cell
It is used to move the cell text in a table.
Responsive table design
It is used to move the cell text in a table.
Column width
It a line of text placed at the top of a column.
td element
It a line of text placed at the top of a column.
widows property
It a line of text placed at the top of a column.
Separate borders model
It a line of text placed at the top of a column.
Table footer row group
It a line of text placed at the top of a column.
Data attributes
It a line of text placed at the top of a column.
vertical-align property
It a line of text placed at the top of a column.
Spanning cells
It a line of text placed at the top of a column.
Header cell
It a line of text placed at the top of a column.
Responsive table design
It a line of text placed at the top of a column.
Column width
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
td element
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
widows property
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Separate borders model
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Table footer row group
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Data attributes
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
vertical-align property
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Spanning cells
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Header cell
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Responsive table design
The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.
Column width
The table features are hidden as it does not use the table header or footer.
td element
The table features are hidden as it does not use the table header or footer.
widows property
The table features are hidden as it does not use the table header or footer.
Separate borders model
The table features are hidden as it does not use the table header or footer.
Table footer row group
The table features are hidden as it does not use the table header or footer.
Data attributes
The table features are hidden as it does not use the table header or footer.
vertical-align property
The table features are hidden as it does not use the table header or footer.
Spanning cells
The table features are hidden as it does not use the table header or footer.
Header cell
The table features are hidden as it does not use the table header or footer.
Responsive table design
The table features are hidden as it does not use the table header or footer.
Column width
It acts like the basis value for items in a flexbox.
td element
It acts like the basis value for items in a flexbox.
widows property
It acts like the basis value for items in a flexbox.
Separate borders model
It acts like the basis value for items in a flexbox.
Table footer row group
It acts like the basis value for items in a flexbox.
Data attributes
It acts like the basis value for items in a flexbox.
vertical-align property
It acts like the basis value for items in a flexbox.
Spanning cells
It acts like the basis value for items in a flexbox.
Header cell
It acts like the basis value for items in a flexbox.
Responsive table design
It acts like the basis value for items in a flexbox.
Column width
They are created by adding the rowspan and colspan attributes to either td or th elements.
td element
They are created by adding the rowspan and colspan attributes to either td or th elements.
widows property
They are created by adding the rowspan and colspan attributes to either td or th elements.
Separate borders model
They are created by adding the rowspan and colspan attributes to either td or th elements.
Table footer row group
They are created by adding the rowspan and colspan attributes to either td or th elements.
Data attributes
They are created by adding the rowspan and colspan attributes to either td or th elements.
vertical-align property
They are created by adding the rowspan and colspan attributes to either td or th elements.
Spanning cells
They are created by adding the rowspan and colspan attributes to either td or th elements.
Header cell
They are created by adding the rowspan and colspan attributes to either td or th elements.
Responsive table design
They are created by adding the rowspan and colspan attributes to either td or th elements.
Column width
It is used to mark table cell content that is not the head of a row or column.
td element
It is used to mark table cell content that is not the head of a row or column.
widows property
It is used to mark table cell content that is not the head of a row or column.
Separate borders model
It is used to mark table cell content that is not the head of a row or column.
Table footer row group
It is used to mark table cell content that is not the head of a row or column.
Data attributes
It is used to mark table cell content that is not the head of a row or column.
vertical-align property
It is used to mark table cell content that is not the head of a row or column.
Spanning cells
It is used to mark table cell content that is not the head of a row or column.
Header cell
It is used to mark table cell content that is not the head of a row or column.
Responsive table design
It is used to mark table cell content that is not the head of a row or column.
Column width
It appears before the table body group.
td element
It appears before the table body group.
widows property
It appears before the table body group.
Separate borders model
It appears before the table body group.
Table footer row group
It appears before the table body group.
Data attributes
It appears before the table body group.
vertical-align property
It appears before the table body group.
Spanning cells
It appears before the table body group.
Header cell
It appears before the table body group.
Responsive table design
It appears before the table body group.
Column width
They are often used for database applications that read the contents of HTML files.
td element
They are often used for database applications that read the contents of HTML files.
widows property
They are often used for database applications that read the contents of HTML files.
Separate borders model
They are often used for database applications that read the contents of HTML files.
Table footer row group
They are often used for database applications that read the contents of HTML files.
Data attributes
They are often used for database applications that read the contents of HTML files.
vertical-align property
They are often used for database applications that read the contents of HTML files.
Spanning cells
They are often used for database applications that read the contents of HTML files.
Header cell
They are often used for database applications that read the contents of HTML files.
Responsive table design
They are often used for database applications that read the contents of HTML files.
Column width
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
63
Case-Based Critical Thinking Questions Case 6.2 Luis has created a web page for a textile industry. When viewing the web page on a different computer, Luis notices a difference in the web page layout. So he decided to make changes in the code to make the layout suitable on all computers. Which of the following properties helps Luis in making the content on the web page more readable by spreading the content into a specific number of columns on a single page?

A) column-span;
B) column-count;
C) column-collapse;
D) column-control;
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
64
What are the CSS properties that are used to manage column breaks?
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
65
Case-Based Critical Thinking Questions Case 6.1 Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Andy has created a table for product details where the names of the products and prices of the products are the headers of the table. Which of the following style rules should he add to place a border of 10-pixels around the table with a white background?

A) table.product {background: white; border: 10px; width: 100%;}
B) table.product {border: 10px, white; width: 100%;}
C) table.product {background: white, 10px; width: 100%;}
D) table.product {border: white; width: 100%;}
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
66
Write an HTML code to create a table with three rows and two columns. Add appropriate headers and enter the data into the table.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
67
Explain table row group elements and the order that should be maintained when writing an HTML code.
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
68
Case-Based Critical Thinking Questions Case 6.1 Andy designed a web page for a product-oriented industry using CSS properties. He used several HTML tags to create the web page. He also used tables to ensure that the data is easily managed. Andy wants the borders to be distinctly visible for each cell in the product details table. Which of the following properties must Andy add to his code to accomplish his goal?

A) border-spacing: length;
B) border-collapse: separate;
C) border-collapse: collapse;
D) border-spacing: initial;
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
69
Case-Based Critical Thinking Questions Case 6.2 Luis has created a web page for a textile industry. When viewing the web page on a different computer, Luis notices a difference in the web page layout. So he decided to make changes in the code to make the layout suitable on all computers. Luis has created a table to include the definitions of manufacturing tools used in the industry. He wants to add a space between each column cell of the definition for better understanding. Identify a property that Luis should include in the code to fulfill the requirement.

A) column-gap;
B) column-align
C) column-count;
D) column-space;
Unlock Deck
Unlock for access to all 69 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 69 flashcards in this deck.