Microsoft Programming in HTML5 with JavaScript and CSS3 - 070-480무료 덤프문제 풀어보기
An HTML page contains no embedded JavaScript or CSS code. The body of the page contains only the following line of code.
<p id="test">test</p>
A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page.
You need to apply a style to the paragraph.
Which line of code should you use?
<p id="test">test</p>
A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page.
You need to apply a style to the paragraph.
Which line of code should you use?
정답: D
You review a webpage that contains the following markup:

How does the page render? For each statement in the table, select Yes if the behavior is described. Select No if it is not. Make only one selection in each column.


How does the page render? For each statement in the table, select Yes if the behavior is described. Select No if it is not. Make only one selection in each column.

정답:

Explanation

A web application has a web page that contains an HTML5 CANVAS element. A web extracts messages from the CANVAS element. You need to ensure that the web worker can read the message sent by the web page.
Which three object types can you use?
Which three object types can you use?
정답: A,C,F
설명: (Fast2test 회원만 볼 수 있음)
You develop an application to host user-generated HTML and JavaScript content.
A common error handler in your application must process all unhandled errors.
You need to implement global error handling for the application.
Which code segment should you use?

A common error handler in your application must process all unhandled errors.
You need to implement global error handling for the application.
Which code segment should you use?

정답: C
설명: (Fast2test 회원만 볼 수 있음)
You develop the following code:

You need to complete the code to meet the following requirements:
How should you compete the code? To answer, drag the appropriate code elements to the correct targets in the answer area. Each code element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.


You need to complete the code to meet the following requirements:
How should you compete the code? To answer, drag the appropriate code elements to the correct targets in the answer area. Each code element may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

정답:

Explanation

An HTML page contains no embedded JavaScript or CSS code. The body of the page contains only the following line of code.
<p id="test">test</p>
A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page.
You need to apply a style the paragraph.
Which line of code should you use?
<p id="test">test</p>
A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page.
You need to apply a style the paragraph.
Which line of code should you use?
정답: D
설명: (Fast2test 회원만 볼 수 있음)
You are reviewing the CSS markup for an HTML5 page that displays a news article. The CSS markup for the page is as follows:

The HTML markup for the page is as follows:

For each statement in the table, select Yes if the code segments above causes the page to behave as described.
Select No if it does not. Make only one selection in each column.


The HTML markup for the page is as follows:

For each statement in the table, select Yes if the code segments above causes the page to behave as described.
Select No if it does not. Make only one selection in each column.

정답:

Explanation

A company has an XML file named products.xml on a web server. The file contains a list of the products that the company sells.
You need to display the contents of the products.xml file in a DIV element named Output.
How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.)


You need to display the contents of the products.xml file in a DIV element named Output.
How should you complete the relevant code? (To answer, select the appropriate option from each drop-down list in the answer area.)


정답:

Explanation

When readyState is 4 and status is 200, the response is ready:
Example
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
}
}
Note:
* readyState == 4
Holds the status of the XMLHttpRequest. Changes from 0 to 4:
0: request not initialized
1: server connection established
2: request received
3: processing request
4: request finished and response is ready
* status==200
200: "OK"
404: Page not found
Reference: AJAX - The onreadystatechange Event
You are developing an HTML5 web application that displays the current temperature whenever a button is clicked. The following code provides this functionality.

When the temperature is loaded, the status property on the loader instance does not change.
You need to ensure that the status property on the loader instance is updated when the temperature is loaded.
Which code segment should you use to replace the Loader function?


When the temperature is loaded, the status property on the loader instance does not change.
You need to ensure that the status property on the loader instance is updated when the temperature is loaded.
Which code segment should you use to replace the Loader function?

정답: C
설명: (Fast2test 회원만 볼 수 있음)
You are creating a webpage by using HTML5.
You need to allow users to choose between the following three options:
* IT Professional
* IT Developer
* IT Manager
The users must be limited to one option.
Which markup should you use?

You need to allow users to choose between the following three options:
* IT Professional
* IT Developer
* IT Manager
The users must be limited to one option.
Which markup should you use?

정답: A
설명: (Fast2test 회원만 볼 수 있음)
You have the following CSS markup that renders a red rectangle on a webpage.

How large will the red rectangle appear when it renders on the page?

How large will the red rectangle appear when it renders on the page?
정답: D
설명: (Fast2test 회원만 볼 수 있음)
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?
You need to group relevant page content together to maximize search engine readability.
Which tag should you use?
정답: D
설명: (Fast2test 회원만 볼 수 있음)