Practice test U certify
Moishe wants to develop mobile apps using the technologies contained in the "HTML5 family." Which language in the family should Moishe use to create dynamic, interactive capabilities for his apps?
JavaScript
What is advantageous about the fact that JavaScript is not compiled to any specific hardware platform or operating system?
JavaScript code can be developed quickly.
Which of the following statements about JavaScript is true?
JavaScript is platform-independent.
Consider the following style rule: p { border: 1px solid #000; width: 10em; word-wrap: break-word; }
Long words will wrap to the next line, without a hyphen.
Which of the following was introduced to CSS before CSS version 3?
Margins
You are the new Web site designer for your company and want to establish a set of conventions for publishing. Which of the following will help you standardize documents from different departments throughout the company to achieve this goal?
Style guide
An object-oriented program is:
a collection of individual objects that perform different functions.
Consider the following code: <p style="text-align: center; margin-right: 12px;"/> This code is an example of:
an inline CSS style attribute.
The CSS3 box-sizing property forces elements to fit an area in a certain way, such as allowing the border and padding to fit within the defined width of an element instead of expanding it. Which of the following values are used with this property?
content-box and border-box
Which of the following is the best example of good coding practice?
h1 { font-family: arial, sans-serif; color: #FFFFFF; font-size: 36px; }
The CSS3 matrix3d transform method defines a 3D transformation using a 4x4 matrix. How many values are required for this method?
16 values
What tag is usually used by Web authors to place JavaScript code within an HTML document?
<
Why is it important to limit words to clear, necessary verbiage on your Web pages, especially on the home page?
Because most users simply scan pages quickly looking for specific information or links to it
Bella wants to simplify Web page creation so that she need only make one simple change to affect all like elements across the site simultaneously. To accomplish this, Bella should use:
Cascading Style Sheets (CSS).
If you want a particular block-level element to always appear at the upper-right corner of the browser window, no matter how far down a user scrolls on the page, which type of CSS positioning should you apply?
Fixed
Ahmed is creating an intranet site for his company that may be viewed using several different browsers. What can he do to help ensure that his Web pages render appropriately, regardless of the browser used to render them?
Follow W3C standards carefully.
What can be considered an advantage of using HTML5 APIs to create mobile apps?
HTML5 APIs use fewer resources than plug-ins do.
The terms "HTML family" and "Web development trifecta" are sometimes used to refer to which combination of Web technologies?
HTML5, CSS3 and JavaScript
Pieter wants to make his Web pages HTML5-compliant and eliminate the need for site visitors to download plug-ins such as Apple iTunes, Apple QuickTime, Adobe Flash or Microsoft Silverlight to listen to audio. What can Pieter do to accomplish this?
Incorporate the <audio> element in his Web pages
What is the purpose of the CSS3 @keyframes rule?
It defines an animation and its position, and it is required.
Jacoby wants to use CSS3 to apply a border to the bottom of the last paragraph in each <section> element on a Web page. Which selector should he use?
section p:last-of-type
Which value of the CSS3 box-shadow property specifies the shadow's size, but is optional?
spread
Hector has created a CSS style sheet to ensure visual and formatting consistency across the HTML documents on his company's intranet. Unbeknownst to Hector, not all computers in the company have a particular font that Hector included in the style sheet. What will occur when users whose computers do not have the font try to view the intranet?
The users' browsers will display the content to which the font is applied in a default font face.