you would for a page that will be viewed primarily on larger screens. Which of the following
is a technique you can use to simplify your page design?
A) Minimize formatting such as fonts and colors.
B) Use tables or frames to organize page content.
C) Provide more links to make navigation easier.
D) Use more images and less text. - ANSWER Minimize formatting such as fonts and
colors.
In Cascading Style Sheets (CSS), what is a rule?
A) A set of values that can be applied to a given property
B) A set of values that can be specified for a given selector
C) A format instruction that consists of a specified selector and the properties and values ap-
plied to it
D) An HTML tag in a Web page that references the style sheet to be applied - AN-
SWER A format instruction that consists of a specified selector and the properties and
values applied to it
Tina is creating a Web form that will be used internally in her organization. She wants to use
an image of a green check box to create a Submit button on the form that will submit user
input to a server for processing. Which element can she use to create a Submit button that
uses text and images?
A <input type="submit">
B <button type="button">
C <input type="button">
D <button type="submit"> - ANSWER <button type="submit">
1
, Nevine wants to improve her JavaScript program's efficiency and scalability by defining her
own processes, or functions. Why are functions such an integral part of writing JavaScript
code?
A) Because they process user-generated events
B) Because they perform specific tasks repeatedly throughout your program, as needed
C) Because they generate events
D) Because they transfer program execution to subroutines, procedures or other functions -
ANSWER Because they perform specific tasks repeatedly throughout your program, as
needed
What selector could you use to select every <a> element whose href attribute value ends
with .zip?
A) a[href*=".zip"]
B) a[href#=".zip"]
C) a[href$=".zip"]
D) a[href^=".zip"] - ANSWER a[href$=".zip"]
HTML comes in several versions. Which of the following includes the Transitional, Strict and
Frameset "flavors"?
A) HTML5
B) HTML 3.2
C) All HTML versions
D) HTML 4.01 - ANSWER HTML 4.01
Tamiko wants to make her Web pages HTML5-compliant and eliminate the need for site visi-
tors to download plug-ins such as Adobe Flash, Microsoft Silverlight or Apple QuickTime to
view her video files. What can Tamiko do to accomplish this?
A) Incorporate the <movie> element in her Web pages
B) Incorporate the <video> element in her Web pages
C) Incorporate the <audio> element in her Web pages
2