Toolkit for HTML Structure, CSS Layouts & JavaScript Logic
2025/2026
How can she accomplish this? - correct answer By applying the stricter syntax rules of
XML to her existing code to upgrade the code from HTML to XHTML
What is the term for a value containing data or code that is passed on to a function or
procedure? - correct answer Argument
What is the main purpose of Responsive Web Design (RWD)? - correct answer To
create sites that adapt gracefully to many different devices and screen sizes
In general, what can you use the XMLHttpRequest object to do in your Web pages? -
correct answer Update content on Web pages without reloading them
Which technique can developers use to keep images from exceeding the screen width
of users' mobile devices? - correct answer Fluid images
Which technology can be defined as a vendor-neutral, cross-platform API that specifies
how objects in a Web document can be referred to and manipulated through scripting
languages? - correct answer DOM
What does the term "user agent" mean? - correct answer Any application, such as a
Web browser or help engine, that renders HTML for display to users
Consider the following code:
<script>
function mySum(a, b)
{
, ...(your selection here)
}
alert(mySum(2,3));
</script>
Which code properly supplies the alert with the sum of the two numbers? - correct
answer return a+b;
Consider the following Cascading Style Sheets (CSS) rule:
body {background-color: #008080;}
Which is the "selector" portion of this rule? - correct answer The portion that reads
"body"
Which of the following is a key difference between responsive site design and mobile
site design? - correct answer Content on a responsive site is easier to update and
maintain because the site is not separate
Which of the following is an event handler for the button object? - correct answer
onclick
Ezra wants to use an image to completely cover the background in a Web page. He
wants to fill the entire background while maintaining the aspect ratio of the image.
Which value should he assign to the CSS3 background-size property? - correct
answer cover
Liza wants to add continuous animation to her Web site, but she does not want to
require users to install a browser plug-in. Which CSS3 property should she use to
accomplish this? - correct answer animation