Quiz 3 Flashcards
To associate a text string entered above each input element with a control, the text string should be enclosed within the _____ element.
A) fieldset
B) label
C) script
D) legend
B) label
For older browsers that do not support media queries, Cascading Style Sheets (CSS) 3 provides the _____ keyword to hide style sheets from those browsers.
A) auto
B) only
C) initial
D) one
B) only
Case-Based Critical Thinking Questions
Case 5-1
Alex, a web designer, is assigned the task of creating a mobile-device-friendly website for a leading fashion outlet called AllStyles. A desktop version of AllStyles’s website already exists. Alex can refer to this desktop version of the website to create the mobile website design.
The desktop version of the website contains a long list of hyperlinks and this can obstruct the view of the main content when viewed from a mobile device.
Which of the following should Alex use to hide this long list of hypertext links so that it appears only in response to a tap of a major heading in the navigation list?
A) Header links
B) Pulldown menus
C) Pop-up links
D) Navigator menus
B) Pulldown menus
The process of ensuring that the user has supplied correct data is called _____ .
A) identification
B) correction
C) validation
D) submission
C) validation
A _____ is used to restrict numeric values by displaying an up or down arrow to increase or decrease the field value by a set amount.
A) radio button
B) data list
C) check box
D) spinner control
D) spinner control
When a style for a table element is created by setting the font color to red, _____.
A) the caption text will be displayed in black font
B) the caption text will be displayed in a red 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
C) the caption text will be displayed in the same color as the previous table
Identify thepagerule using which styles are applied to a page box.
A) #page {
style rules
}
B) @page {
style rules
}
C) {
style rules
}
D) *page {
style rules
}
B) @page {
style rules
}
Which of the following HTML elements is used to add a row in a table?
A) < td >
B) < tr >
C) < dd >
D) < tl >
B) < tr >
The _____ is a device feature that gives the ratio of the width of the display area to its height.
A) orientation-ratio
B) aspect-ratio
C) display-ratio
D) index-ratio
B) aspect-ratio
T/F: To create a media query within a Hypertext Markup Language (HTML) file, the style attribute should be added to the link element in the document head.
F
Identify the widget that limits a numeric field to a range of possible values by allowing users to drag a marker horizontally across the possible field values.
A) Data list
B) Selection list
C) Spinner control
D) Slider control
D) Slider control
Which of the following statements is true of row groups?
A) The row groups are used in different applications where the table content is only from internal data sources.
B) The row groups are used to create different styles for groups of rows in a table.
C) The individual rows are determined using only the class attribute.
D) The rows are determined based on the total number of cells within a table.
D) The rows are determined based on the total number of cells within a table.
T/F: A flexbox is a box containing items whose sizes are fixed.
F
T/F: Spanning cells are created by addingdivattributes to eithertdorthelement.
F
T/F: While designing web pages for mobile devices, the overall file size should be kept small.
T