Want to know Ucertify 98-375 Exam practice test features? Want to lear more about Microsoft HTML5 Application Development Fundamentals certification experience? Study Free Microsoft 98-375 answers to Down to date 98-375 questions at Ucertify. Gat a success with an absolute guarantee to pass Microsoft 98-375 (HTML5 Application Development Fundamentals) test on your first attempt.
Q1. Which two HTML properties can JavaScript access to change the text value of an HTML element? (Choose two.)
A. innerHTML
B. nodeType
C. title
D. nodeValue
Answer: A,C
Explanation: The innerHTML property sets or returns the inner HTML of an element.
Example:
document.getElementById('myAnchor').innerHTML="Contoso";
The title property sets or returns the element's advisory title.
Example:
var x=document.getElementsByTagName('body')[0];document.write("Body title: " + x.title);
Q2. 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
Q3. Which three statements describe cookies? (Choose three.)
A. They can be created, read, and erased using the document.cookie property.
B. They are limited in size to 5 MB.
C. They are deleted automatically when the session ends.
D. They can be used only by pages on the domain where they were set.
E. They contain the data in the form of a name=value pair.
Answer: A,D,E
Explanation: Note: Cookies are small, usually randomly encoded, text files that help your browser navigate through a particular website. The cookie file is generated by the site you're browsing and is accepted and processed by your computer's browser software. The cookie file is stored in your browser's folder or subfolder.
Q4. Which two terms represent interfaces in the File API? (Choose two.)
A. Font
B. Blob
C. Keygen
D. FileList
Answer: B,D
Explanation: The File Interface This interface describes a single file in a FileList and exposes its name. It inherits from
Blob.
IDL
[Constructor(Blob fileBits, [EnsureUTF16] DOMStringfileName)]
interface File : Blob {
readonly attribute DOMString name;
readonly attribute Date lastModifiedDate;
};
Q5. Which HTML5 tag is used to mark text that has been added to the original document?
A. <q>
B. <pre>
C. <ins>
D. <i>
Answer: C
Q6. Which CSS3 code segment styles the text color of EM elements to be red and semi-transparent?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q7. When applied to an image, the CSS float:right property:
A. positionsthe image to the left and displays all of the text to the right of the image.
B. positionsthe image to the right of the region and wraps text around the top, left, and bottom.
C. positionsthe image to the left of the region and wraps text around the top, right, and bottom.
D. positionsthe image to the right and wraps text to the top and bottom.
Answer: B
Q8. Which three event attributes are used with the CAPTION element in HTML5? (Choose three.)
A. onmouseover
B. ondblclick
C. onkeydown
D. onconnect
E. onabort
Answer: A,B,C
Explanation: A: onmouseover
The cursor moved over the object (i.e. user hovers the mouse over the object).
B: ondblclick
Invoked when the user clicked twice on the object.
C: onkeydown
Invoked when a key was pressed over an element.
Q9. 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
Q10. Which CSS property defines which sides of an element where other floating elements are not allowed?
A. float
B. position
C. display
D. clear
Answer: D