Which code segment should you use?
You need to display the image by using the correct semantic markup
DRAG DROP
You are developing an HTML5 web application that will display encyclopedia entries.
Each encyclopedia entry has an associated image that is referred to in the entry.
You need to display the image by using the correct semantic markup.
What should you do? (To answer, drag the appropriate HTML tag to the correct element.
Each tag 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.)
Which method should you use?
You are developing a web page that will contain an animated logo. The web page currently
has a logo image on a canvas object.
You need to spin the logo image on the canvas.
Which method should you use?
Which code segment should you use?
Which two code segments should you use?
You create the following JavaScript code:
You have the following requirements:
You must invoke a function that displays the vehicle information within the following HTML
element: <div id=”display”x/div>
The output of the function must appear on the webpage as follows:
Vehicle Color is silver
Stay safe!
Vehicle TransmissionType is manual
Big machine!
You need to invoke the JavaScript function to display the required output in the HTML
element.
Which two code segments should you use? (Each correct answer presents a complete
solution. Choose two.)
Which code segment should you insert at line 02?
Which line of code should you insert at line 04?
You are developing an application that processes order information. Thousands of orders
are processed daily. The application includes the following code segment. (Line numbers are
included for reference only.)
The application must:
Display the number of orders processed and the number of orders remaining
Update the display for every 25th record processed
You need to develop the application to meet these requirements.
Which line of code should you insert at line 04?
You need to prevent users from entering specific characters into the username field
You develop an HTML5 webpage. You have the following HTML markup:
<input type=”text” id=”username” />
You need to prevent users from entering specific characters into the username field.
What should you do?
You need to modify the webpage to invoke the JavaScript function named someEvent()
You troubleshoot a webpage that contains the following HTML markup: (Line numbers are
included for reference only.)
The webpage also contains the following JavaScript function named someEvent() that is
declared in the HEAD section of the HTML:
Function someEvent() {
Alert(‘someEvent fired!’);
}
The JavaScript function named someEvent() must run only when the user clicks the DIV
element, not the INPUT elements.
You need to modify the webpage to invoke the JavaScript function named someEvent().
What should you do? (Each correct answer presents a complete solution. Choose two.)
Which markup should you use?
You develop a webpage by using HTML5.
The user interface of the webpage must show a gray-lined box that contains the label Enter
your information:. Inside the box are two labels and two input boxes. The first input box must
be labeled Name:. The second input box must be labeled Email:. Below the box is a Submit
button.
The user interface must look like the following;
You need to create the user interface.
Which markup should you use?