Wednesday 25 November 2015

Pass4sure 70-480 Question Answer

You are developing a customer contact form that will be displayed on a page of a company's website. The page collects information about the customer. If a customer enters a value before submitting the form, it must be a valid email address. 
You need to ensure that the data validation requirement is met. What should you use?

A. <input name="email" type="url"/>
B. <input name="email" type="text" required="required"/>
C. <input name="email" type="text"/>
D. <input name="email" type="email"/>

Answer: D                                              

You are developing a web page that enables customers to upload documents to a web server. The page includes an HTML5 PROGRESS element named progressBar that displays information about the status of the upload.
The page includes the following code. (Line numbers are included for reference only.)
 

 
An event handler must be attached to the request object to update the PROGRESS element on the page. You need to ensure that the status of the upload is displayed in the progress bar. Which line of code should you insert at line 03?

A.
xhr.upload.onloadeddata =
B. xhr.upload.onplaying =
C. xhr.upload.onseeking =
D. xhr.upload.onprogress =

Answer: D

No comments:

Post a Comment

Note: only a member of this blog may post a comment.