Unlock access to all the studying documents.
View Full Document
Unit H Organizing Content with_Lists and_Tables
1. The default marker for each list item is determined by the user agent rendering the web page but is most often an
Arabic letter.
2. colgroup elements are nested withing col parent elements.
3. HTML enables you to create a list in which the order of list items doesn’t matter.
4. Unlike dl and ul, ol does not use the li element to specify list items.
5. It’s easy to nest lists in HTML: you simply insert valid code for a list within the content of an li element..
6. When using HTML table structuring elements, tc indicates content of a standard table cell
Unit H Organizing Content with_Lists and_Tables
7. The content of the table header cell is right-aligned by default in most browsers.
8. When a table contains cells that repeat the same content across a row or down a column, you can improve usability by
removing all but one occurrence of the content formatting the cell to be displayed across multiple columns or rows.
9. In a table that doesn’t use colspan or rowspan attributes, you can verify that each row includes content for every
column by ensuring that each row contains the same number of th or td elements.
10. Whenever you add col elements, they must cover all the columns in the table.
11. All the li elements for a list are nested within the opening and closing dl tags. _________________________
12. To create a list in which the order of list items doesn’t matter, use the rl element. _________________________
13. A description list was known in previous versions of HTML as a(n) dictionary list. _________________________
Unit H Organizing Content with_Lists and_Tables
14. An element with the table-cell value for the display property serves the role of a th or td element.
_________________________
15. A table organizes data in vertical rows._________________________
16. You can add semantic information to a table by using the tfoot element to mark footer
rows. _________________________
17. The HTML table structuring element called table marks the start and end of table content.
_________________________
18. To merge a cell across multiple columns in an HTML table, you use the colspan attribute in the opening th or td
tag for the cell to specify the number of columns in which it should be displayed. _________________________
19. By default, each col element applies to a single column, starting from the right side of the
table. _________________________
20. You can group consecutive columns into a single col element by specifying the number of columns to include as the
value of the flow attribute. _________________________
Unit H Organizing Content with_Lists and_Tables
21. You use the HTML ____ element to create a list in which items are numbered or lettered sequentially.
22. You create each item in an ordered list with the ____ element.
23. Unordered list items are displayed with a ____ at the start of each line.
24. In an unordered list, the default bullet character is a(n) ____, but you can use the CSS list–style–type property
to specify a different bullet shape.
25. Which of the following is NOT a value for the CSS list–style–type property for the ul element?
26. In addition to choosing from the standard selection of bullet characters using the list–style–type property, you
can instead choose to specify an image to display as the bullet character using the ____ property.
27. The syntax to specify an image to display in place of a bullet is the text url followed by the path and filename of the
image file, enclosed in ____.
28. The ____ element creates a description list, which enables you to specify a name–value pair for each list item.
29. In HTML5, ____ is recommended as a semantic marker for any content that includes items and descriptions.
30. When using dl, ____ marks the term or item being described.
31. When using dl, ____ indicates the description.
32. Adding a(n) ____ to a description list element enables you to format a list without specifying the formatting for every
item-description pair.
206
33. To nest lists in HTML, you insert valid code for a list within the content of a(n) ____ element.
34. By marking up a navigation bar using the ____ element(s), you can add semantic information that helps user agents
more accurately render it.
35. To create a nav bar as a list, you nest the nav bar links within a(n) ____ element.
36. Each item of data in a table is displayed in a(n) ____, which is the intersection of a row and a column.
37. When creating a table in HTML, ____ marks the start and end of the table.
38. When creating a table in HTML, ____ marks the content of a header cell.
207
Unit H Organizing Content with_Lists and_Tables
39. When creating a table in HTML, ____ marks the content of a data cell.
40. When creating a table in HTML, ____ groups cells into rows.
41. You can add semantic information to a table by using the ____ element to mark the header rows of the table.
42. The content of a table header cell is ____ by default in most browsers.
43. To merge a cell across multiple columns in an HTML table, you use the ____ attribute in the opening th or td tag for
the cell to specify the number of columns in which it should be displayed.
44. CSS lets you specify that you want elements treated as components of a table, but without marking them semantically
as tabular data. To implement this layout, you use ____elements, such as divs.
Unit H Organizing Content with_Lists and_Tables
45. To implement a CSS layout where elements are treated as components of a table but are not marked as tabular data,
you create a structure that parallels the arrangement of ____ elements in an HTML table.
46. Referring to the figure above, the header cell content in the “Period” column is ____.
47. Referring to the figure above, a table row consists of a ____ series of cells tat are grouped in a tr element.
48. Referring to the figure above, a table row consists of a ____ series of cells.
49. Referring to the figure above, a(n) ____ is displayed around each cell.
Unit H Organizing Content with_Lists and_Tables
50. Referring to the figure above, the ____ cell spans multiple columns.
51. Referring to the figure above, to cause cell content to be displayed across multiple columns, the ____ attribute is used.
52. Referring to the figure above, the ____ attribute has been used in the table.
53. Referring to the figure above, the word “Period” is in a cell that spans ____.
Unit H Organizing Content with_Lists and_Tables
54. Referring to the figure above, ____ element(s) is required to specify the number or arrangement of columns.
55. Referring to the figure above, the ____ attribute merges cell borders of adjacent cells into a single line.
Case-Based Critical Thinking Question
Lorienne is building a table for her Web site that shows her babysitting rates depending on the number of hours and
number of children watched.
56. Lorienne wants the number of children to show across the top of the table, as a column heading. To do this, she should
use the ____ basic table structuring tag.
57. To indicate the start and end of a row, Lorienne uses the ____element.
Case-Based Critical Thinking Question
Quinn plans to use several different types of lists on his Web site selling musical instruments.
58. One of the lists that Quinn wants to include is a set of instructions on how to return an item. The instructions need to
be followed in a set order. Which type of list would Quinn create?
59. Quinn is also creating a list of the types of clients he works with (schools, individuals, orchestras), and the list does
not need to be in a particular order. What type of list should he create?
60. The final list that Quinn is creating is the name of famous people he has worked with and the instrument they play. He
wants to be able to specify a name-value pair. He would use the ____ list.
61. Referring to the figure above, the code specifies the file browntri.gif as the bullet character for ________________
lists.
62. The HTML ol element creates a type of list known as a(n) ________________ list.
63. You mark an unordered list item content with the same ________________ element that you use for an ordered list.
64. The dl element creates a(n) ________________ list, which enables you to specify a name–value pair for each list
202
Critical Thinking
Unit H Organizing Content with_Lists and_Tables
65. Setting list-style-type to ________________ prevents bullet characters from displaying next to each item.
66. A table organizes data in horizontal ________________.
67. You can add semantic information to a table by using the ________________ element to mark the rows that make up
the body.
Match each CSS list-style-type property value with the result.
i. first item
ii. second item
a. first item
b. second item
1. first item
2. second item
73. What is a description list? What was a description list called in previous versions of HTML? How is a description list
used in HTML 5?
74. To create a table in HTML, you use four main elements. Please name and describe these elements.
75. In a table that doesn’t use colspan or rowspan attributes, how can you verify that each row includes content for
every column? When you use colspan and rowspan attributes, how can you confirm that your content fits the table
dimensions.