









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










1 / 16
2 / 16
background:#d8d8d8 url(background.gif) top right; height:662px; } Where on the page will the image (background.gif) appear?: At the top right of the nav section
Kate has created a complex script that she wants to attach to multiple HTML files, but she also wants to add a simple script to only certain sections of one page. What must she do to apply both scripts?: She must use separate 4 / 16 leaves from a link, image or other visible element on the page?: mouseout
Which CSS3 selector can you use to apply a style to the first paragraph of every container in a Web page?: p:first-of-type
What is another common name for the technique of requesting and reusing data using the JavaScript XMLHttpRequest object with HTML pages and CSS?: - AJAX
To allow users to change the size of elements on a Web page, such as a element, you can add which CSS3 property?: resize
Which of the following is a JavaScript event that occurs when a page opens in the browser?: load
Which DOM method is used by the element to return a context object, which provides properties and methods that can be used to draw and manipulate images on the canvas?: getContext()
What HTML5 form element provides users with a drop-down menu of pre-de- fined choices and an autocomplete feature that filters choices while they type?- : The element
You are creating a mobile version of a community discussion site for busy moms. Users post questions and other topics for discussion. Some days there are as many as 20 new discussion threads. Considering your audience, what might be the best way to lay out navigation elements on the home page?: Create a small, collapsible
5 / 16 navigation bar at the top of the home page so users can see new topics without scrolling
7 / 16 Which is the "declaration" portion of this rule?: The portion inside the curly braces
elements that are preceded by an
element 34. Many markup code validators exist, but the most authoritative is the W3C Markup Validation Service. How does the W3C Markup Validation Service deter- mine to what HTML standard to validate your code?: It reads the declaration on an HTML page and validates according to the specified DTD 35. To change the position of a transformed element in CSS3, you use the:: trans- form-origin property 36. To position an element behind another element, you can assign a negative value to:: the Z-index property 37. Consider the following code: var yearBirth = "1956"; What variable data type does this snippet of code represent?: String 38. Which statement about modern Web design is true?: The design of mobile Web pages requires some ditterences from pages designed for desktop computers 39. You are creating a Web-based mapping application. What information can you obtain by using the HTML5 Geolocation API in your application?: The latitude and longitude of a user's device8 / 16
10 / 16
11 / 16 What is the value of myVar after execution?: The value will be: 23
13 / 16 this.v1 = "Green"; alert (this.v1); } f() ; alert (v1);
What is the expected result when this script is run in the browser?: Two alert boxes, both displaying the message Green
14 / 16
Which two attributes' values must match each other in order to bind the element with the element?: The list attribute and the id attribute
16 / 16