This code is an example of: - Answer: an inline CSS style attribute
Which value of the CSS3 box-shadow property specifies the shadow's size, but is optional? - Answer:
spread
What tag is usually used by Web authors to place JavaScript code within an HTML document? - Answer:
The <script> tag
In JavaScript, what function does the prompt() method perform? - Answer: It creates a pop-up box with
a text field and requests the user to input information into the field
Bella wants to simplify Web page creation so that she need only make one simple change to affect all
like elements across the site simultaneously. To accomplish this, Bella should use: - Answer: Cascading
Style Sheets (CSS)
Ken is creating an online survey in which users will rate items using the numbers 1 through 5. He wants
to use HTML5 to prevent arbitrary numbers from being entered, and to make it easier for mobile device
users by providing a slider control. What HTML5 input type should Ken use? - Answer: type="range"
Consider the following JavaScript expression:
, "3" + "3" = "33"
This code snippet is an example of: - Answer: concatenation performed on strings
You are developing a form for your Web site. Which guideline should you follow when developing inline
validations to assist users by notifying them of their progress toward completion? - Answer: Include
persistent messages that show success in fields
Which statement is true regarding the HTML5 <datalist> element? - Answer: The <datalist > element
contains <option> elements with values that are displayed via autocomplete when the user types in the
associated <input> element
You are the new Web site designer for your company and want to establish a set of conventions for
publishing. Which of the following will help you standardize documents from different departments
throughout the company to achieve this goal? - Answer: Style guide
Which HTML5 API allows a Web program to run locally on a client system? - Answer: AppCache
Consider the following style rule:
p{
border: 1px solid #000;
width: 10em;
word-wrap: break-word;
} - Answer: Long words will wrap to the next line, without a hyphen
<script>
var v1 = "Blue";
function f ()
{
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller YourExamplug. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.49. You're not tied to anything after your purchase.