|\ |\ |\ |\ |\ |\
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. - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\ |\
✔✔create apps for mobile devices. |\ |\ |\ |\
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 - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\
✔✔The <nav> structure element
|\ |\ |\
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. - CORRECT
|\ |\ |\ |\ |\ |\ |\ |\ |\
ANSWERS ✔✔HTML5 APIs use fewer resources than a proprietary
|\ |\ |\ |\ |\ |\ |\ |\ |\
browser plug-in does, such as battery power and CPU memory.
|\ |\ |\ |\ |\ |\ |\ |\ |\
Code validation is the process of:
|\ |\ |\ |\ |\
A) creating code that responds to user screen size.
|\ |\ |\ |\ |\ |\ |\ |\
B) accessing another point in a Web page or separate Web page.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
C) determining how to display HTML elements in your Web page.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
D) checking your code to verify that it complies with the syntax
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
rules for your chosen standard. - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\
✔✔checking your code to verify that it complies with the syntax
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
rules for your chosen standard.
|\ |\ |\ |\
Consider the following HTML code:
|\ |\ |\ |\
<audio>
<source src="audio.mp3" type="audio/mpeg" />
|\ |\ |\
<source src="audio.wav" type="audio/wav" />
|\ |\ |\
<source src="audio.ogg" type="audio/ogg" />
|\ |\ |\
Your browser does not support the HTML5 audio element.
|\ |\ |\ |\ |\ |\ |\ |\
</audio>
,Which attribute and value must you add to the <audio> element
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
to incorporate default audio operations such as Play, Pause,
|\ |\ |\ |\ |\ |\ |\ |\ |\
Volume, etc.? |\
A) controls="controls"
|\
B) controls="default"
|\
C) controls="audio"
|\
D) controls="yes" - CORRECT ANSWERS ✔✔controls="controls"
|\ |\ |\ |\ |\
Which of the following can be considered a benefit of developing
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
Web pages using the "Web development trifecta"?
|\ |\ |\ |\ |\ |\
A) You can create Web pages without the need for page structure
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
elements to define the document structure.
|\ |\ |\ |\ |\ |\
B) You can create Web pages without the need for hyperlinks.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
C) You can create Web pages that no longer need to be validated
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
to an HTML standard in order to properly render in any browser
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
or device.
|\
D) You can create Web pages that easily adapt to smartphones,
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
tablets, gaming devices and smart TVs, as well as to traditional
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
computers. - CORRECT ANSWERS ✔✔You can create Web pages |\ |\ |\ |\ |\ |\ |\ |\ |\
that easily adapt to smartphones, tablets, gaming devices and
|\ |\ |\ |\ |\ |\ |\ |\ |\
smart TVs, as well as to traditional computers.
|\ |\ |\ |\ |\ |\ |\
For what should you use the controls attribute of the <video>
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
element?
A) To add video controls such as the Play, Pause, Rewind and
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
Volume controls |\
B) To identify the format, or MIME type, of the video
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
C) To identify the location and file name of the media resource
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
, D) To identify an image to be displayed until the Play button is
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
clicked or while the video is downloading - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
✔✔To add video controls such as the Play, Pause, Rewind and
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
Volume controls |\
You can use a Graphical User Interface (GUI) editor to create Web
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
pages, or you can manually code them using HTML5 and CSS3.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
Why is it important to understand what goes on behind the GUI
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
of a Web editor?
|\ |\ |\
A) You will be able to resize your Web pages to conform to the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
size of a device's screen.
|\ |\ |\ |\
B) You will be able to troubleshoot code issues when the GUI Web
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
editor fails.
|\ |\
C) You will be able to create apps for mobile Web browsers.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
D) You will be able to change the GUI interface to more closely
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
suit your coding habits. - CORRECT ANSWERS ✔✔You will be able
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
to troubleshoot code issues when the GUI Web editor fails.
|\ |\ |\ |\ |\ |\ |\ |\ |\
Consider the following HTML code: |\ |\ |\ |\
<video width="360" height="270" controls="controls"
|\ |\ |\ |\
poster="image.png">
<source src="video.mp4" type="video/mp4" /> |\ |\ |\
<source src="video.webm" type="video/webm" />
|\ |\ |\
<source src="video.ogg" type="video/ogg" /> |\ |\ |\
Your browser does not support the HTML5 video element.
|\ |\ |\ |\ |\ |\ |\ |\
</video>