Download Programming in HTML5 with JavaScript and CSS3.70-480.PracticeDumps.2018-05-22.159q.tqb

Vendor: Microsoft
Exam Code: 70-480
Exam Name: Programming in HTML5 with JavaScript and CSS3
Date: May 22, 2018
File Size: 23 MB

How to open TQB files?

Files with TQB (Taurus Question Bank) extension can be opened by Taurus Exam Studio.

Demo Questions

Question 1
You are developing an HTML5 page that has an element with an ID of picture. The page includes the following HTML. 
    
You need to move the picture element lower on the page by five pixels. 
Which two lines of code should you use? (Each correct answer presents part of the solution. Choose two.)
  1. document.getEIementById("picture").style.position = "relative";
  2. document.getElementById("picture").style.top = "5px";
  3. document.getEiementById("picture").style.top = "-5px";
  4. document.getEIementById("picture").style.position =  "absolute";
Correct answer: AB
Explanation:
We use relative position to move the position 5 pixels lower on page. Using a negative value would move the picture higher on the page. Note:* The top property sets or returns the top position of a positioned element. This property specifies the top position of the element including padding, scrollbar, border and margin. Syntax Set the top property:Object.style.top="auto|length|%|inherit" Where:Length defines the top position in length units. Negative values are allowed
We use relative position to move the position 5 pixels lower on page. 
Using a negative value would move the picture higher on the page. 
Note:
* The top property sets or returns the top position of a positioned element. 
This property specifies the top position of the element including padding, scrollbar, border and margin. 
Syntax 
Set the top property:
Object.style.top="auto|length|%|inherit" 
Where:
Length defines the top position in length units. Negative values are allowed
Question 2
You are modifying a blog site to improve search engine readability. 
You need to group relevant page content together to maximize search engine readability. 
Which tag should you use?
  1. <section>
  2. <tbody>
  3. <div>
  4. <table>
Correct answer: A
Explanation:
The <section> tag defines sections in a document. Such as chapters, headers, footers, or any other sections of the document.
The <section> tag defines sections in a document. Such as chapters, headers, footers, or any other sections of the document.
Question 3
You are developing a customer web form that includes the following HTML. 
<input  id="txtValue"/> 
You need to change the HTML markup so that customers can enter only a valid three-letter country code. 
Which HTML should you use?
  1. <input id="txtValue" type="country"/>
  2. <input id="txtValue" type="text" required="xxx"/>
  3. <input id="txtVa!ue" type="text" pattern-" [A-Za-z] {3} "/>
  4. <input id="txtValuen type="code" pattern"="country"/>
Correct answer: C
Explanation:
HTML <input> pattern Attribute The pattern attribute specifies a regular expression that the <input> element's value is checked against. Example An HTML form with an input field that can contain only three letters (no numbers or special characters):<form action="demo_form.asp"> Country code: <input type="text" name="country_code"pattern="[A-Za-z]{3}" title="Three letter country code"/> <input type="submit"> </form> Reference: HTML <input> pattern Attributehttp://www.w3schools.com/tags/att_input_pattern.asp
HTML <input> pattern Attribute 
The pattern attribute specifies a regular expression that the <input> element's value is checked against. 
Example 
An HTML form with an input field that can contain only three letters (no numbers or special characters):
<form action="demo_form.asp"> 
Country code: <input type="text" name="country_code"
pattern="[A-Za-z]{3}" title="Three letter country code"/> 
<input type="submit"> 
</form> 
Reference: HTML <input> pattern Attribute
http://www.w3schools.com/tags/att_input_pattern.asp
Question 4
You are developing an HTML5 web application and are styling text. 
You need to use the text-transform CSS property. 
Which value is valid for the text-transform property?
  1. Capitalize
  2. Hidden
  3. Italic
  4. Line-through
Correct answer: A
Explanation:
CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit;Example Transform text in different elements:h1 {text-transform:uppercase;}h2 {text-transform:capitalize;}p {text-transform:lowercase;}Reference: CSS text-transform Propertyhttp://www.w3schools.com/cssref/pr_text_text-transform.asp
CSS Syntax 
text-transform: none|capitalize|uppercase|lowercase|initial|inherit;
Example 
Transform text in different elements:
h1 {text-transform:uppercase;}
h2 {text-transform:capitalize;}
p {text-transform:lowercase;}
Reference: CSS text-transform Property
http://www.w3schools.com/cssref/pr_text_text-transform.asp
Question 5
You are developing an HTML5 web application and are styling text. 
You need to use the text-transform CSS property. 
Which value is valid for the text-transform property?
  1. Italic
  2. Line-through
  3. Capitalize
  4. 20px
Correct answer: C
Explanation:
CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit;Example Transform text in different elements:h1 {text-transform:uppercase;}h2 {text-transform:capitalize;}p {text-transform:lowercase;}Reference: CSS text-transform Propertyhttp://www.w3schools.com/cssref/pr_text_text-transform.asp
CSS Syntax 
text-transform: none|capitalize|uppercase|lowercase|initial|inherit;
Example 
Transform text in different elements:
h1 {text-transform:uppercase;}
h2 {text-transform:capitalize;}
p {text-transform:lowercase;}
Reference: CSS text-transform Property
http://www.w3schools.com/cssref/pr_text_text-transform.asp
Question 6
You are modifying a blog site to improve search engine readability. 
You need to group relevant page content together to maximize search engine readability. 
Which tag should you use?
  1. <tbody>
  2. <article>
  3. <div>
  4. <span>
Correct answer: B
Explanation:
The <article> tag specifies independent, self-contained content.   An article should make sense on its own and it should be possible to distribute it independently from the rest of the site.   Potential sources for the <article> element: Forum post Blog post News story Comment
The <article> tag specifies independent, self-contained content.   
An article should make sense on its own and it should be possible to distribute it independently from the rest of the site.   
Potential sources for the <article> element: 
Forum post 
Blog post 
News story 
Comment
Question 7
You are modifying a blog site to improve search engine readability. 
You need to group relevant page content together to maximize search engine readability. 
Which tag should you use?
  1. <span>
  2. <nav>
  3. <cable>
  4. <section>
Correct answer: D
Explanation:
The <section> tag defines sections in a document. Such as chapters, headers, footers, or any other sections of the document.
The <section> tag defines sections in a document. Such as chapters, headers, footers, or any other sections of the document.
Question 8
You are developing an HTML5 web application and are styling text. You need to use the text-transform CSS property. 
Which value is valid for the text-transform property?
  1. red
  2. hidden
  3. lowercase
  4. italic
Correct answer: C
Explanation:
CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit;Example Transform text in different elements:h1 {text-transform:uppercase;}h2 {text-transform:capitalize;}p {text-transform:lowercase;}Reference: CSS text-transform Propertyhttp://www.w3schools.com/cssref/pr_text_text-transform.asp
CSS Syntax 
text-transform: none|capitalize|uppercase|lowercase|initial|inherit;
Example 
Transform text in different elements:
h1 {text-transform:uppercase;}
h2 {text-transform:capitalize;}
p {text-transform:lowercase;}
Reference: CSS text-transform Property
http://www.w3schools.com/cssref/pr_text_text-transform.asp
Question 9
You are developing an HTML5 web application and are styling text. 
You need to use the text-transform CSS property. 
Which value is valid for the text-transform property?
  1. lowercase
  2. 20px
  3. line-through
  4. italic
Correct answer: A
Explanation:
CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit;Example Transform text in different elements:h1 {text-transform:uppercase;}h2 {text-transform:capitalize;}p {text-transform:lowercase;}Reference: CSS text-transform Propertyhttp://www.w3schools.com/cssref/pr_text_text-transform.asp
CSS Syntax 
text-transform: none|capitalize|uppercase|lowercase|initial|inherit;
Example 
Transform text in different elements:
h1 {text-transform:uppercase;}
h2 {text-transform:capitalize;}
p {text-transform:lowercase;}
Reference: CSS text-transform Property
http://www.w3schools.com/cssref/pr_text_text-transform.asp
Question 10
You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from five style sheets. 
The styles are not being applied correctly to the pages in the application. 
You need to determine the order in which the style sheets will be applied by the browser. 
In which order will the five style sheets be applied? (To answer, move the style sheet types from the list of style sheet types to the answer area and arrange them in the order that they will be applied.) 
Correct answer: To work with this question, an Exam Simulator is required.
Explanation:
Note:The order of declarations from least important to most important:user agent declarations user normal declarations author normal declarations author important declarations user important declarations
Note:
The order of declarations from least important to most important:
  1. user agent declarations 
  2. user normal declarations 
  3. author normal declarations 
  4. author important declarations 
  5. user important declarations
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!