Top Quality of 98-375 download materials and questions pool for Microsoft certification for IT specialist, Real Success Guaranteed with Updated 98-375 pdf dumps vce Materials. 100% PASS HTML5 Application Development Fundamentals exam Today!
Q11. Which CSS code fragment centers an image horizontally?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q12. Which three code fragments define an HTML input control? (Choose three.)
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
Answer: C,D,E
Explanation: HTML input types include: button checkbox color date datetime datetime-local email file hidden
image
month
number
password
radio
range
reset
search
submit
tel
text
time
url
week
Note:
HTML Forms - The Input Element
The most important form element is the <input> element.
The <input> element is used to select user information.
An <input> element can vary in many ways, depending on the type attribute. An <input>
element can be of type text field, checkbox, password, radio button, submit button, and
more.
Q13. Which three generic font family names are valid values of the font-family property in CSS? (Choose three.)
A. cursive
B. system
C. serif
D. fixed
E. fantasy
Answer: A,C,E
Explanation: There are five generic fonts: serif, sans-serif, monospace, cursive and
fantasy.
Note:
There are two types of font family names:
family-name - The name of a font-family, like "times", "courier", "arial", etc.
generic-family - The name of a generic-family, like "serif", "sans-serif", "cursive", "fantasy",
"monospace".
Q14. You need to retrieve a value from local storage by using the key "aardvark." Which code fragment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Q15. Which three properties can be used with the TouchEvent object in the Safari touch API? (Choose three.)
A. offsetTop
B. clientHeight
C. scale
D. touches
E. rotation
Answer: C,D,E
Q16. DRAG DROP
Match the HTML5 technologies to the corresponding descriptions. (To answer, drag the appropriate technology from the column on the left to its description on the right. Each technology may be used once, more than once, or not at all. Each correct match is worth one point.)
Answer:
Q17. You write the following JavaScript code. (Line numbers are included for reference only.)
You need to write a function that will initialize and encapsulate the member variable full name.
Which are two possible code fragments you could insert at line 02 to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B,D
Explanation:
Note:
* In JavaScript this always refers to the “owner” of the function we're executing, or rather, to the object that a function is a method of.
* If you assign a value to variable that has not yet been declared, the variable will automatically be declared as a GLOBAL variable.
This statement:
carname="Volvo";
Will declare the variable carname as a global variable , even if it is executed inside a
function.
Q18. Which two events are supported on touch devices? (Choose two.)
A. click
B. touchstart
C. selection
D. drag
Answer: A,B
Explanation: when the user touches the screen both touch and click events will occur.
The touchstart event
A user agent must dispatch this event type to indicate when the user places a touch point
on the touch surface.
Note:
The main touch events are:
touchstarttriggered when a touch is detected
touchmovetriggered when a touch movement is detected
touchendtriggered when a touch is removed e.g. the user’s finger is removed from the
touchscreen
touchcanceltriggered when a touch is interrupted, e.g. if touch moves outside of the touch-
capable area
Q19. In HTML5, which two objects in the Web Storage specification are used to store data on the client? (Choose two.)
A. websocket
B. navigator
C. cache
D. sessionStorage
E. localStorage
Answer: D,E
Explanation: There are two new objects for storing data on the client:
localStorage - stores data with no expiration date sessionStorage - stores data for one session
Q20. Which JavaScript method allows you to register multiple handlers for a single touch event?
A. dispatchEvent
B. initUIEvent
C. addEventListener
D. initEvent
Answer: C