C777 WEB DEVELOPMENT APPLICATIONS PRE-
ASSESSMENT
The HTML5 specification for the <audio> element does not require a specific audio
codec to be supported, but it does support three audio formats: MP3, Ogg and WAV.
Which major browser supports all three audio formats? - Answers - Chrome
You are developing pages for your company's Web site. You create an HTML5 search
field using the following code:
<input type="search" name="search">
When you test the page on various browsers, the first browser supports the new input
type and displays the search field. The second browser does not support this new input
type and gracefully degrades. What type of field does the second browser display? -
Answers - A text box
Kwan is using JavaScript extensively to add interactivity to his Web site. Contained
within his script is a counter object that calculates a date based on a number input by
the user.
Which term describes the calculation process that Kwan's counter object performs? -
Answers - Method
The HTML5 File API can be used to: - Answers - create preview thumbnail images
during image uploads
What is the basic code you would need to define a named function that returns a value?
- Answers - function myFunction() { return value; }
What can you use in CSS if you want to customize your own HTML element styles? -
Answers - The class and id selectors
What two keys are created by the HTML5 <keygen> element? - Answers - A private
key and a public key
What HTML5 API can you use to provide location-based services, such as mapping? -
Answers - The Geolocation API
Which type of CSS effect allows an element to gradually change styles from one to
another? - Answers - Transition
You are creating a mobile Web site for your company's polling service. Users will be
completing polls and surveys about various topics. How can you simplify the page