Question: 1) To create an animated image, you use a. a JPEG file b. a PNG file c. a GIF file d. a GIF file that
1) To create an animated image, you use
a. a JPEG file
b. a PNG file
c. a GIF file
d. a GIF file that contains frames
2) The HTML5 figure element is typically used as a container for
a. Articles
b. Asides
c. Sections
d. Images
3) When you create an image map, you use an erea element to define each clickable hotspot along with
a. a usemap attribute that identifies the related image
b. a hotspot attribute that identifies the number of hotspots
c. an href attribute that identifies the pages that the hotspot links to
d. a map attribute that gives the names of the hotspots
4) you can use the CSS3 structural pseudo-classes to format a table without using
a. ids
b. classes
c. ids or classes
d. element types
5) What does the following rule set do?
tbody tr:nth-child(2n) {
background-color:gray;
}
Sets the background color of every other row in the table, starting with the first row.
Sets the background color of every other row in the table, starting with the second row.
Sets the background color of the second column in each row of the table.
Sets the background color of every other column in the second row of the table.
7) To indicate if a cell is associated with a column or row, you use the
a. caption attribute
b. scope attribute
c. headers attribute
d. figcaption attribute
8) In the table that follows, CSS has been used to format
| Book | Year Published | Total sale |
| Jave SE6 | 2007 | $306,524 |
| Java servlet and JSP | 2008 | $221,352 |
| Oral SQL and PL/SQL | 2008 | $88,830 |
| Javascript and DOM Scripting | 2009 | $59,713 |
9) If you assign an access key to a label,
a. the user must press the access key and the the table key to move the focus to the related control
b. nothing happened when the user presses the access key because a label cant receive the focus
c. the focus moves to the related control
d. the user must press the access key twice to move the focus to the related control
10) The CSS3 selectors for data validation are
a. :required, :valid, :notvalid
b. :required, :valid, :invalid
c :required, :notrequired, :valid
d :required, :notrequired, :valid, :invalid
11) To associate a field with a data list, you set
A the list attribute of the field to the id of the datalist element
b. the list attribute of the datalist element to the id of the field
c. the for attribute of the field to the id of the datalist element
d. the for attribute of the datalist element to the id of the field
12) which of the following statement is not true about email, url, and tel controls?
a. its good to use these control because they indicate the type of data theyre for
b. The browser will automatically validate the entrie in all three of these controls.
c. The error message thats displayed if an entry is invalid varies depending on the browser
d. the control are treated as text boxes if theyre not supported by a browser
13) to implement a search function for your web site, you must include
a. an input element with its type attribute set to search
b. an input element plus a submit button
c . an input element, submit button and hidden field that specifies the domain for the search
d an input element, submit button and hidden field that specifies the domain for the search and that only that domain should be searched.
14) Which of the following HTML5 controls is designed for data thats calculated by javascript or server-side code?
a. output
b. email
c. url
d. tel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
