Download Microsoft.70-480.RealTests.2019-11-13.189q.tqb

Vendor: Microsoft
Exam Code: 70-480
Exam Name: Programming in HTML5 with JavaScript and CSS3
Date: Nov 13, 2019
File Size: 19 MB

Demo Questions

Question 1
You have a webpage that includes the following markup:
  
When the page is loaded, the SPAN element must be moved as follows:
  
You need to move the SPAN element and preserve any event handlers attached to the SPAN. 
Which code segment should you use? 
  1. document.getElementById("Div1").appendChild(document.getElementById("Span1"))
  2. var moveElement = document.getElementById("Div1");
    moveElement.parentNode.appendChild(moveElement);
  3. document.getElementById("Span1").appendChild(document.getElementById("Div1"))
  4. var moveElement = document.getElementById("Span1");
    moveElement.parentNode.appendChild(moveElement);
Correct answer: A
Explanation:
Reference:https://www.w3schools.com/jsref/met_node_appendchild.asp
Reference:
https://www.w3schools.com/jsref/met_node_appendchild.asp
Question 2
You are developing a customer web form that includes the following HTML. 
<input id="txtValue" type="text" /> 
A customer must enter a valid age in the text box prior to submitting the form. 
You need to add validation to the control. 
Which code segment should you use? 
  
  1. Option A
  2. Option B
  3. Option C
  4. Option D
Correct answer: D
Explanation:
.val Return value A string containing the value of the element, or an array of strings if the element can have multiple values
.val 
Return value 
A string containing the value of the element, or an array of strings if the element can have multiple values
Question 3
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? 
  1. <input name="email" type="url"/>
  2. <input name="email" type="text" required="required"/>
  3. <<input name="email" type="text"/> 
  4. <input name="email" type="email"/>
Correct answer: D
Explanation:
The <input type="email"> is used for input fields that should contain an e-mail address. Depending on browser support, the e-mail address can be automatically validated when submitted. Some smartphones recognize the email type, and adds ".com" to the keyboard to match email input. Example:<form> E-mail:<input type="email" name="email"/> </form> Reference:http://www.w3schools.com/html/html5_form_input_types.asp
The <input type="email"> is used for input fields that should contain an e-mail address. 
Depending on browser support, the e-mail address can be automatically validated when submitted. 
Some smartphones recognize the email type, and adds ".com" to the keyboard to match email input. 
Example:
<form> 
E-mail:
<input type="email" name="email"/> 
</form> 
Reference:
http://www.w3schools.com/html/html5_form_input_types.asp
EXAM SIMULATOR

How to Open TQB Files?

Use Taurus Exam Simulator to open TQB files

Taurus Exam Simulator


Taurus Exam Simulator for Windows/macOS/Linus

Download

Taurus Exam Studio
Enjoy a 20% discount on Taurus Exam Studio!

You now have the chance to acquire Exam Studio at a discounted rate of 20%.

Get Now!