Microsoft Programming in HTML5 with JavaScript and CSS3 (070-480日本語版) - 070-480日本語 Exam Practice Test





Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).




Correct Answer:

Explanation
Link font color: Yellow

Link background color: Fuchsia
References:





Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).



Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).


Correct Answer:

Explanation

* serialize()
Encode a set of form elements as a string ready for submission.
decodeURIComponent
* To decode the string, PHP offers the urldecode() function.
?
echo urldecode('name%40website.com'); //restores "[email protected]"
Reference: JavaScript decodeURIComponent() Function


Correct Answer:

Explanation

Reference: https://www.w3schools.com/html/html5_video.asp


Correct Answer:

Explanation

* The @media rule is used to define different style rules for different media types/devices.
CSS Syntax
@media not|only mediatype and (media feature) {
CSS-Code;
}
* Media type: Screen
Used for computer screens.
Incorrect:
Not size: there is no media type size.
Reference: CSS3 @media Rule; CSS Media Types





Correct Answer:

Explanation

* getElementById
The getElementById() method accesses the first element with the specified id. We use it to get a reference to the canvas.
* context.fillStyle.
Example:
Define a red fill-color for the rectangle:
JavaScript:
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.fillStyle="#FF0000";
ctx.fillRect(20,20,150,100);
Reference: HTML canvas fillStyle Property



Correct Answer: B



Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).




Correct Answer:

Explanation
