Web Development Exam with Complete Coding Solutions
2025/2026
Which scripting language is most commonly used within Microsoft's proprietary
programs, such as Word and Excel? - correct answer VBScript
In an article about using inline validation in HTML5 forms, Maik reads that users
typically find these forms to be easier and faster to complete. What feature on inline
validation would cause this result from form users? - correct answer Users can resolve
errors as they go along and submit the completed, validated form just once
What is the term for a relatively small application developed exclusively for mobile
devices? - correct answer App
Which of the following methods returns a value in the form of a text string? - correct
answer prompt()
You want to create a simple click-to-call link on your mobile Web page, so that users
can easily make a phone call with one click. Which line of code will add this feature? -
correct answer <a href="tel:18005551212"> Call Us Now </a>
Consider the following Cascading Style Sheets (CSS) rule:
body {color: #008080;}
Which is the "declaration" portion of this rule? - correct answer The portion inside the
curly braces
What is the purpose of using the CSS3 h3 ~ p selector? - correct answer To select all
<p> elements that are preceded by an <h3> element
, Many markup code validators exist, but the most authoritative is the W3C Markup
Validation Service. How does the W3C Markup Validation Service determine to what
HTML standard to validate your code? - correct answer It reads the <!DOCTYPE>
declaration on an HTML page and validates according to the specified DTD
To change the position of a transformed element in CSS3, you use the: - correct
answer transform-origin property
To position an element behind another element, you can assign a negative value to: -
correct answer the Z-index property
Consider the following code:
var yearBirth = "1956";
What variable data type does this snippet of code represent? - correct answer String
Which statement about modern Web design is true? - correct answer The design of
mobile Web pages requires some differences from pages designed for desktop
computers
You are creating a Web-based mapping application. What information can you obtain by
using the HTML5 Geolocation API in your application? - correct answer The latitude
and longitude of a user's device
What will occur if you define all your functions in the <body> section of your HTML
page? - correct answer The functions will load when the browser reaches the script
point in the page or when the appropriate user event occurs
How can you override a particular style in an HTML element if the HTML document is
linked to a style sheet? - correct answer By applying an inline CSS style attribute to the
element whose style you want to override