| Exam Code/Number: | 070-480Join the discussion |
| Exam Name: | Programming in HTML5 with JavaScript and CSS3 |
| Certification: | Microsoft |
| Question Number: | 322 |
| Publish Date: | Dec 03, 2026 |
|
Rating
100%
|
|
You develop a webpage by using HTML5. You create the following markup:
<input type "url" name= "website" required="required" />
You need to ensure that the value that the user enters contains a secure URL.
What should you do?
You are developing a web application that can function when users are not connected to the Internet.
You need to check the Internet connectivity status of a user's browser.
Which method should you use?
You have the following HTML markup.
You need to ensure that when a user presses btnDraw, a rectangle that has the following characteristics is drawn:
* The y-coordinate must equal 10.
* The x-coordinate must equal 10.
* The rectangle must have a height and width of 100.
The solution must use local variables only.
Which five JavaScript code segments should you use? Develop the solution by selecting and arranging the required code blocks in the correct order.


You have the following code. (Line numbers are included for reference only.)
You execute the code and you receive an alert that displays the following message: "Undefined".
You need to ensure that the alert displays as shown:
What should you do?
You are creating an application by using HTML5 and CSS3. The styles for the pages are derived from five style sheets.
The styles are not being applied correctly to the pages in the application.
You need to apply the styles from highest priority to lowest priority.
In which order should you use the five style sheets? (To answer, move the style sheet types from the list of style sheet types to the answer area and arrange them in the correct order.)

