Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134323534
Author: FELKE-MORRIS
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 14, Problem 8MC
Program Description Answer
In this case, the “value” is a keyword to access the contents from an input box.
Hence, the correct answer is option “B”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
In each of the following code segments, locate the error and describe how to fix it:
a)
a = 5;
while ( a <= 20 );
++a;
}
b)
switch (n) {
case 1: document.writeln( "The number is 10" );
case 2: document.writeln( "The number is 20" );
break;
default:
document.writeln( "The number is not 10 or 20" );
break;
}
c) The following code should print the values from 0 to 5:
a = 0;
while (a < 5 )
document.writeln( a++ );
d)
<!DOCTYPE html>
<html>
<bodystyle=" font-size:30px;" >
<p id="demo"></p>
<script>
var d = new Date();
document.read("Date is"+d)
</body>
</html>
How would you create a new span element and assign the reference to a variable named x?
var x = item.createElement("s");
var x = document.create("span");
var x = document.createElement("span");
var x = document.createElement("s")
1. What object do you use when creating a form with choices where a user can only choose one answer?a. Combo Box
b. Frame
c. Check Box
d. Option Button2. To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
Chapter 14 Solutions
Web Development and Design Foundations with HTML5 (8th Edition)
Ch. 14.4 - Prob. 1CPCh. 14.4 - Prob. 2CPCh. 14.4 - Prob. 3CPCh. 14.6 - Prob. 1CPCh. 14.6 - Prob. 2CPCh. 14.6 - Prob. 3CPCh. 14.8 - Describe a method that can be used to gather a...Ch. 14.8 - Prob. 2CPCh. 14.8 - Prob. 3CPCh. 14.9 - Prob. 1CP
Ch. 14.9 - Prob. 2CPCh. 14.9 - Prob. 3CPCh. 14.18 - Prob. 1CPCh. 14.18 - Prob. 2CPCh. 14.18 - Prob. 3CPCh. 14 - Prob. 1MCCh. 14 - Prob. 2MCCh. 14 - Prob. 3MCCh. 14 - Prob. 4MCCh. 14 - Prob. 5MCCh. 14 - Prob. 6MCCh. 14 - Prob. 7MCCh. 14 - Prob. 8MCCh. 14 - Prob. 9MCCh. 14 - Prob. 10MCCh. 14 - Prob. 11MCCh. 14 - Prob. 12FIBCh. 14 - Prob. 13FIBCh. 14 - The ________ object is assumed to exist and it is...Ch. 14 - Prob. 15FIBCh. 14 - A form control button can be used with a(n)...Ch. 14 - Prob. 17FIBCh. 14 - Prob. 18FIBCh. 14 - Prob. 19SACh. 14 - Prob. 20SACh. 14 - Prob. 1AYKCh. 14 - Prob. 2AYKCh. 14 - Prob. 3AYKCh. 14 - Prob. 1HOECh. 14 - Prob. 2HOECh. 14 - Prob. 3HOECh. 14 - Prob. 4HOECh. 14 - Prob. 5HOECh. 14 - Prob. 6HOECh. 14 - Prob. 7HOECh. 14 - Prob. 8HOECh. 14 - Prob. 1WRCh. 14 - Prob. 2WRCh. 14 - Prob. 3WR
Knowledge Booster
Similar questions
- Create a page that will allow users to enter the total amount for a bill, the number of people splitting the bill, and the tip percentage that should be used. All of these values can be entered using text fields, but you may use a drop-down menu or radio buttons to allow the user to select the tip amount that they want to use. When the user clicks a button to calculate the amount it should call a function in an associated JavaScript file that will perform the calcuation. This function should have four parameters, the first which is the amount of the bill, the second of which is the tax rate, the third of which is the number of people splitting the bill, and the last of which is the desired tip rate. The function should calculate the total amount due including tax and split it evenly amongst everyone. The tip should be calculated without tax. The function should create and return a String that looks similar to the following: "The bill of $100.00 with 8% tax comes to a total of…arrow_forwardTask:1. Create a personal information form using HTML5 that includes fields for various personal details (e.g., name,address, phone number) similar to the slide’s example (you can use any programming language you want)2. Implement input validation using regular expressions for two specific fields: USM ID and USM email.Validation Requirements:• USM Email: The form must validate and only accept USM email addresses in the format user@usm.edu.• USM ID: The form must validate USM IDs in the format W10123456 or w10123456. The USM ID always startswith 'W' or 'w' (one position), followed by 10 (two positions), and any combination of digits (0-9) for the next 6positions.Testing Patterns (USM ID):• Valid:• W10123456• w10123456• Invalid:• abc1012345• A10123456• 9998501234• w999123456• w121234565• W10w12345• Ww85012345• w100ABCDEF• 123456850warrow_forwardMake two edittext, where user can enter 2 numbers. Also make a Button which will add two numbers and display the result in Toast message and in TextView.(Android Application)arrow_forward
- Here is the HTML file given. Write a validation code for each of the boxes in external javascript file. The critirias are: all boxes must not be empty the name box must contain only alphabets the password box the phone number must contain only numbers the registration number box must contain only numbers and alphabets (not symbols) create external javascript code called validationfunctions.js and put all these requirements there, so you will have 2 files (html and javascript) <html><head><title>Validation Form Practice</title><script src="validationfunctions.js"></script></head><body onload='document.form1.text1.focus()'><h2>Vlidation Form</h2><form name="form1" action="#" onsubmit="required()"> Name: <font color="red"> * </font> <br> <input type='text' name ='text1'/> <br> Password: <font color="red"> * </font> <br><input type='password' name ='pass1'/>…arrow_forwardWhich of the following is a syntactically correct style rule for setting the background color of all ordered and unordered lists in a document? A. ol>ul { background-color:yellow; } B. ol,ul { background-color:yellow; } C. oul { background-color:yellow; } D. ol and ul { background-color:yellow; } E. None of the abovearrow_forwardWhich of the following controls is used to verify that a control on a Web page contains data? a. FieldValidator b. RequiredField c. RequiredFieldValidator d. RequiredValidatorarrow_forward
- Which statement of the following is used to set 10px as left position of an object? Object.style.position.left='10px' Left=10px Object.style.left='10px' Object.left='10px'arrow_forwardi want to fix a hbs code called "index.hbs " it should with a textbox called Account Number2 radio buttons: Balance and Deposit ,and a Submitbotton on the right corner, shows the username , put mouse on it will shows "logout: click logout will go back to the login page . index.hbs <title> Bank</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="./data/d.css"> <scriptsrc="./data/b.js."></script> </head> <article class="clscontainer"> <h6 class="main ">BANK</h6> </article> <nav class="classsmenu"> <h3>Menu</h3> <button class="clssubmit" type="submit">Submit</button> </form> </body></html> login .hbs <html lang="en"> <head> <meta charset="UTF-8" /> <title>login</title> <link rel="stylesheet" href="./data/1.css">…arrow_forwardSave this file as button.html▪ Use a Javascript Function name myFunction() and the Javascript document.write() method.▪ Write “x = 5”▪ Write “y = 20”▪ Write “Sum of x + y = 25”▪ Your JavaScript <script> should be in the <head> of the HTML document.▪ The <body> of the html should have a button. Clicking the button should execute myFunction()and display the above output.arrow_forward
- Please help! 1. Create a folder named LastNameFirstNameExercise2. 2. In this folder, create a subfolder named views. This directory should contain files used for client view. 3. Create HTML files (these should be valid, simple/basic HTML files. No styling required) contact.html - this file should display your full name and your school email address about.html - this file should display your full name and your concentration (e.g., Software Engineering, Information Technology, etc) 404.html - this file should display your full name and an error message stating the requested page cannot be located save these files under the views directory 3. Create an app.js file in the LastNameFirstNameExercise2 directory. In app.js, creates a server that listens for HTTP requests on port 8080 at localhost. Upon receiving a request: 1. responds by sending contact.html file located in the folder/directory called "views" to requests sent to the server for /contact (http://localhost:8080/contact) 2.…arrow_forwardAssume your html file contains the following subset of code and already has a link to a javascript file:<p> <label for="comments"> Enter Comments: </label> <input type="text" name= "comments" id="comments"></p> Create a function that will pop-up an alert message when the user enters a comment. Use blur event handler and name your function thankYou(). The alert should contain he message: "Thank you for your comments".arrow_forwardWhich element of the JavaScript expressiondocument.write("<p>The current time in " + cityName + " is " + currentTime + ".</p>");is a literal? a. cityName b. "<p>The current time in " c. document d. writearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
- COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L