Proper study guides for Improve Microsoft HTML5 Application Development Fundamentals certified begins with Microsoft 98-375 preparation products which designed to deliver the Refined 98-375 questions by making you pass the 98-375 test at your first time. Try the free 98-375 demo right now.
Q1. DRAG DROP
Match the touch events to the corresponding actions. (To answer, drag the appropriate touch event from the column on the left to its action on the right. Each touch event may be used once, more than once, or not at all. Each correct match is worth one point.)

Answer:

Q2. Which term describes the canvas API?
A. xml-based
B. vector-based
C. retained-mode
D. immediate-mode
Answer: D
Q3. Which three are valid JavaScript variables? (Choose three.)
A. xyz1
B. .Int
C. int1
D. _int
E. 1xyz
Answer: A,C,D
Explanation: Variable names must begin with a letter or special variable with either $ or _ Variable names are case sensitive (y and Y are different variables)
Q4. 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.
Q5. In HTML5, the autofocus attribute:
A. defines the cursor location when a form is first accessed.
B. controls the movement between fields in a form.
C. adds a default value to the field in a form.
D. enables one field and disables all others.
Answer: A
Q6. Which CSS3 code fragment will style only the external links in an HTML document?

A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q7. 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.
Q8. On a Windows touch device, which gesture serves the same purpose as a right-click of the mouse?
A. swipe
B. pinch
C. tap
D. hold
Answer: D
Q9. Your HTML5 code includes this code segment:

Which JavaScript code fragment will determine that a visitor has selected the "Chocolate" radio button?

A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Q10. Web Workers define an API for:
A. Publishing frequently updated works for syndication.
B. Running scripts in the background,
C. Bi-directional, full-duplex communications over a single TCP socket.
D. Distributing load across multiple web servers.
Answer: A
Q11. You are creating a page by using HTML5. You add script tags to the page.
You need to use JavaScript to access an element by id and add a class to the element.
Which property or attribute should you use?
A. the tagName property
B. the className property
C. the style property
D. the class attribute
Answer: B
Q12. What does the following HTML5 code fragment do?

A. It plays the myVacation.avi video if the browser supports it; otherwise, plays the myVacation.ogg video if the browser supports it.
B. It plays two videos: first myVacation.avi, and then myVacation.ogg.
C. It plays both videos simultaneously, myVacation.avi and myVacation.ogg.
D. It prompts the user to choose which format of the myVacation video it should play, .avi or .ogg.
Answer: D
Q13. Which code fragment sets up a timer that calls a function named "adjust" every second?
A. setTimeout(adjust, 1000);
B. setInterval(adjust, 1000);
C. setInterval(adjust, 1);
D. setTimeout(adjust, 1);
Answer: B
Q14. Which tag is used to create a drop-down list in HTML5?
A. <ul>
B. <select>
C. <datalist>
D. <dd>
Answer: B
Q15. Your code includes the following fragment:
<input type="text" name="text1" id="myText" />
You need to add code that will retrieve the contents of the INPUT element.
Which JavaScript code fragment will accomplish this?
A. vartxtContents =document.getElementById('text1').value;
B. vartxtContents = document.getEIementyById('myText').value;
C. vartxtContents =document.getElementById('text1');
D. vartxtContents = document.getElementById('myText');
Answer: B
Q16. DRAG DROP
Match the HTML5 input attributes to the corresponding descriptions. (To answer, drag the appropriate attribute from the column on the left to its description on the right. Each attribute may be used once, more than once, or not at all. Each correct match is worth one point.)

Answer:

Q17. You need to use JavaScript to access the "section1" element in the following code fragment:
<div id='section1'>
Which method should you use?
A. getElementsByTagName
B. getElementById
C. getElementsByName
D. getElementsByClassName
Answer: B