Answers
A programming language that provides the ability to create more powerful
interactivity. The more complex and richer an interface becomes, the more likely
this language is used. - CORRECT ANSWER What is the role of JavaScript in the
web trifecta
75px - CORRECT ANSWER Given the following CSS rule, how big is the margin
across the bottom of the affected paragraph (<p>...</p>) element?
Both A and B
A - By HTML commands
B - By a call in JS code - CORRECT ANSWER How can APIs be invoked?
The passage of information when the end user drags and drops files into specific
areas on a web page - CORRECT ANSWER What does the HTML5 Drag and Drop
API manage
To indicate which language that subtitle set is for - CORRECT ANSWER What is the
purpose of the label attribute in the <track> element?
It helps the developer create the intended branding on every page of the website
- CORRECT ANSWER How does a style guide help the developer?
It helps
,Both standards for typography and image usage and editorial standards, including
compliance to a broad manual style and brand-specific exceptions - CORRECT
ANSWER What standards should an effective style guide establish?
A baseline for voice, tone, and messaging - CORRECT ANSWER What baseline
should an effective style guide set
The combination of a property and its value - CORRECT ANSWER What is a
declaration?
As the text between these symbols: <!-- this is an HTML comment --> - CORRECT
ANSWER How are HTML comments defined?
<fieldset> - CORRECT ANSWER A web developer wants to group elements of a
form together for easier readability. Which HTML5 element should they use to
achieve this?
contain - CORRECT ANSWER Which CSS property should a developer use if they
want an image's background to scale and fit within the specified content area of
its container?
Padding - CORRECT ANSWER In the CSS box model, which property defines the
area directly surrounding the content?
mouseOver - CORRECT ANSWER What JavaScript event occurs when a user moves
the mouse pointer over an element like a link or an image?
,placeholder - CORRECT ANSWER Which HTML5 form attribute provides a hint to
users about the kind of input that should be entered into the form field?
tel - CORRECT ANSWER To create a click-to-call feature on a mobile site, which
protocol should be used in the href attribute?
border-radius - CORRECT ANSWER Which CSS3 property would allow a developer
to create rounded corners on an element?
transition - CORRECT ANSWER A company needs to add an animation that moves
an element from one position to another based on a user-triggered event. Which
CSS property is most appropriate?
prompt() - CORRECT ANSWER In JavaScript, which method is used to generate a
pop-up box that requests a user's input?
multiple - CORRECT ANSWER Which attribute should be added to the <input>
element to allow users to select multiple files for upload in an HTML5 form?
- CORRECT ANSWER A developer needs a responsive layout that dynamically
adjusts to fit the screen size. What CSS layout should they use?
create apps for mobile devices. - CORRECT ANSWER HTML5 APIs can be used to:
A) determine how to display HTML elements in your Web pages.
B) call another location in the Web page or a separate Web page when the API is
selected.
, C) provide a development environment that enables the seamless use of
proprietary browser plug-ins.
D) create apps for mobile devices.
The <nav> structure element - CORRECT ANSWER HTML5 has introduced specific
elements to structure Web pages. In which structure element should you include
hypertext menus to access various pages of the Web site?
A) The <article> structure element
B) The <aside> structure element
C) The <nav> structure element
D) The <section> structure element
HTML5 APIs use fewer resources than a proprietary browser plug-in does, such as
battery power and CPU memory. - CORRECT ANSWER What is an advantage of
using HTML5 APIs when designing Web pages for mobile devices?
A) HTML5 APIs use fewer resources than a proprietary browser plug-in does, such
as battery power and CPU memory.
B) HTML5 APIs streamline the application of proprietary browser plug-ins when
plug-ins are included in Web pages designed for mobile devices.
C) HTML5 APIs make Web pages non-responsive to varying user screen sizes,
thereby saving battery power and CPU memory.
D) HTML5 APIs eliminate the need for Cascading Style Sheets, thereby saving
battery power and CPU memory.
checking your code to verify that it complies with the syntax rules for your chosen
standard. - CORRECT ANSWER Code validation is the process of: