READ Free Dumps For Microsoft- 70-480
Question ID 14817 | You are creating an application by using HTML5 and CSS3. The styles for the pages are |
Option A |
* From highest priority to lowest priority. User important style sheets Author important style sheets Author normal style sheets User normal style sheets User agent style sheets * CSS declarations are applied in this order (from lowest to highest priority): User agent declarations (the default styles your browser applies to elements) User normal declarations (a user's own stylesheet if they're using one) Author normal declarations (this is your normal stylesheet) Author important declarations (anything your mark important) User important declarations (any important styles from the user's stylesheet). |
Correct Answer | A |
Question ID 14818 | An HTML page has a canvas element. How should you build the code segment? (To answer, select the appropriate options from |
Option A |
* 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); |
Correct Answer | A |