PrepAway - Latest Free Exam Questions & Answers

Category: 70-480 (v.7)

Briefing 70-480: Programming in HTML5 with JavaScript and CSS3 (updated November 29th, 2017)

You need to apply the appropriate CSS rules to meet the…

You develop an HTML5 webpage with custom CSS. You have the following HTML markup:
<div class=”new” Item”>…</div>
You have the following requirements:
In addition to your CSS, you must use a corporate branded stylesheet named corporate.css.
The corporate.css file contains the style rule that must be used for .newsItem.
You must use the corporate.css file to ensure that the webpage changes when the brand changes.
You must add additional style rules to the webpage.
You cannot modify the corporate.css file.
You need to apply the appropriate CSS rules to meet the requirements.
What should you do?

How should you complete the relevant markup?

DRAG DROP
You develop a website for a company by using HTML5.
You have the following requirements:
Allow multiple news postings per page under the title “Welcome to the Semantic Web!”.
Search engines must be able to index individual news postings.
News postings must be styled by using the following CSS markup:
.posting ( line-height: 150%; )
You need to structure the markup for each individual news posting.
How should you complete the relevant markup? (To answer, drag the appropriate markup to the correct
location or locations in the answer area. Use only markup that applies.)
Select and Place:

You need to ensure that the data validation requirement…

You are developing a customer contact form that will be displayed on a page of a company’s website. The page
collects information about the customer.
If a customer enters a value before submitting the form, it must be a valid email address.
You need to ensure that the data validation requirement is met.
What should you use?

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?

You need to modify the webpage to invoke the JavaScript…

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.)


Page 8 of 26« First...678910...20...Last »