answers with solutions
The HTML5 APIs can be used to create: - ANSWER apps for mobile devices
Unlike a mobile Web site, a mobile app is: - ANSWER a Web application designed for a specific
mobile operating system
In programming, developers use what two other terms to refer to the attributes and behaviors
assigned to objects? - ANSWER Properties and methods
The Word Wide Web is based upon which programming model? - ANSWER An event-driven
model
JavaScript follows mathematical precedence, which means that: - ANSWER parenthetical
expressions take precedence over multiplication
CSS3 allows you to create borders using a picture instead of just a line. Which property is used
for this purpose? - ANSWER border-image
As a Web designer, you want to ensure that HTML elements will not overlap or lay against one
another when users render your Web pages in a browser. Which of the following can you use to
help you configure the space around each HTML element? - ANSWER The CSS Box Model
You need to ensure that users fill in certain fields in your Web form. Which attribute can you
include in a form field's <input> element that will prevent the entire form from submitting if
that field is left empty? - ANSWER required
, Which JavaScript object can be affected by the onchange event handler as value changes? -
ANSWER select
Which JavaScript method should you use if you want to specify a message string to appear on
your Web page as it loads? - ANSWER The document.write() method
Which technique is used to suggest and confirm answers while a user fills in a form? - ANSWER
Inline user validation
To what does the term "inline scripting" refer when you want to use JavaScript to add dynamic
interactivity to your Web pages? - ANSWER Embedding scripting instructions directly into
certain HTML tags
Your Web development team is using Responsive Web Design (RWD) techniques to develop the
company's new site. You are directed to ensure that all images are fluid. How can you do this? -
ANSWER Verify that each image file's size is specified using percentage values instead of pixel
values
The outline property draws a line around the outside of an element, beyond the border. What
can you use to create space between the border and the outline of an element? - ANSWER The
CSS3 outline-offset property
Expressions rely upon what to produce a value? - ANSWER Operators
Calculations in a Web page form are usually performed: - ANSWER by a script
The overflow property can be used to hide text that extends beyond the boundaries of an
element. Which CSS3 property can be used with the overflow property to indicate that text has
been trimmed by displaying an ellipsis? - ANSWER text-overflow