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 9, Problem 6MC
Program Description Answer
In this case, the scrolling text box type of form control suits the best as it allows comment as input from the users.
Hence, the correct answer is option “D”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Instruction : Please add some css on the alert boxes. Change the color. Thank you! The HTML code with javascript is already provided. You just need to customize the alert prompt. Thanks!
CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Applying Javascript in HTML</title>
<script>
function userPrompt() {
var lastName = prompt("Enter your Last name:");
var firstName = prompt("Enter your First name:");
alert("Hello " + lastName + ", " + firstName + "!");
const number1 = parseInt(prompt("Enter your 1st number:"));
const number2 = parseInt(prompt("Enter your 2nd number:"));
const sum = number1 + number2;
alert("The sum is: " + sum);
confirm(lastName + ", " + firstName + " you have added the numbers: " + number1 + " & " + number2 + " and got the sum: " + sum + ".");
}
</script>
</head>
<body onload='userPrompt()'>…
2.
Create a web form that has Full name as text input, Lucky number as text input, and favorite colors as a list of drop-down options. and Two buttons Submit and Reset. When the user makes a selection and hit the submit Button, the information entered and selection should be displayed on the same page below the input controls.
Burger Shop
Create an HTML page with a form for ordering burgers
1. The form should ask for the following:
Customer Information
a. Name
b. Mobile number
c. Email
Burger details
a. Doneness: Rare, Medium rare, Medium, Medium well, Well done
b. Seasonings: mayo, ketchup, mustard, ranch
c. Toppings: Tomato, lettuce, onion, bacon, cheese
d. Quantity of burgers
Delivery Details
a. Delivery Address
b. Preferred delivery date
c. Preferred delivery time
2. Add a submit button that triggers the following validations
Name is required
Mobile number is required and should follow the correct 11 digit format that starts with “09”
Email address is required and should be a valid email format
Doneness is required
Quantity is required. Minimum of 1, maximum of 15
Delivery Address is required
Preferred delivery date is required
Preferred delivery time is required
3. Add a reset button that clears the form inputs
Chapter 9 Solutions
Web Development and Design Foundations with HTML5 (8th Edition)
Ch. 9.4 - Prob. 1CPCh. 9.4 - Prob. 2CPCh. 9.4 - Prob. 3CPCh. 9.6 - Prob. 1CPCh. 9.6 - Describe the purpose of the access key attribute...Ch. 9.6 - Prob. 3CPCh. 9.8 - Prob. 1CPCh. 9.8 - Prob. 2CPCh. 9 - Prob. 1MCCh. 9 - Prob. 2MC
Ch. 9 - Prob. 3MCCh. 9 - Prob. 4MCCh. 9 - Prob. 5MCCh. 9 - Prob. 6MCCh. 9 - Prob. 7MCCh. 9 - Prob. 8MCCh. 9 - Prob. 9MCCh. 9 - Prob. 10MCCh. 9 - Prob. 11MCCh. 9 - Prob. 12FIBCh. 9 - Prob. 13FIBCh. 9 - Prob. 14FIBCh. 9 - Prob. 15SACh. 9 - Prob. 1AYKCh. 9 - Prob. 2AYKCh. 9 - Prob. 3AYKCh. 9 - Prob. 1HOECh. 9 - Prob. 2HOECh. 9 - Prob. 3HOECh. 9 - Prob. 4HOECh. 9 - Prob. 5HOECh. 9 - Prob. 1WRCh. 9 - Prob. 2WRCh. 9 - Prob. 3WRCh. 9 - Prob. 1FWD
Knowledge Booster
Similar questions
- Define a function named createBorders that selects // the table inside the "myPage" section. The function should add a CSS border to the table cells that is 2 pixels thick and solid black (use #000 for black). The function should also return the table element. //////////// Hint: You can build a selector from the result of another selector.arrow_forwardWhich Property Of A Hyperlink Signifies An Element That Currently Has The User's Mouse Pointer Hovering Over It?arrow_forwardChoose any random text that includes 7 different text options. Choose one of the options and apply the following to it. Style the page in a manner that is appropriate to the text you selected. Choose fonts that supplement the style. Apply each of the font and text properties to paragraphs or headings in your document. Use both positive and negative values where appropriate. Your page must include the following: Use at least one (1) hosted font library font (Google fonts or Adobe Typekit). The font should be aligned with the style that you have chosen. Select an additional Google font and using Font Squirrel(or other converter), convert that font into an @font-face kit and use it in your design- convert to at least three different font types. Do not add any ids or classes to your HTML file. Instead, use CSS selectors to select each element required. Include at least one image – do not forget to attribute the source Include a minimum of seven (7) of the following properties: font-weight…arrow_forward
- 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>arrow_forwardThree buttons on the webpage at the bottom, I want each button to change the background color for the header at the top when the user clicks the button. Choose an appropriate color. ONLY USING JAVASCRIPTarrow_forwardHow to use the writeln() method of the document object to display the current URL in a <p> tag in the webpage. Hint: The href property of the window.location object contains the current URL? <h1>Demo</h1><script> </script>arrow_forward
- When the user hovers the mouse over one of the images in the menu, another imageshould be displayed with the description and price of the item. The id attribute ofeach image identifies the image to be displayed when it’s rolled over.• The rollover images should be preloaded.• When the user clicks on an image, the order list and order total should be updated anddisplayed.• If the user clicks the Place Order button, the checkout.html page should be displayed.• If the user clicks the Clear Order button, all of the items should be removed from theorder list and the total should be cleared.arrow_forwardWhich Web control looks like a hyperlink and fires a Click event?arrow_forward_________ is a tag that represent a piece of content that is only slightly related to the rest of the page content. a. Aside b. Article c. Section d. Microdataarrow_forward
- ) Which is one of the possible values of the text -align property? 1) down 2)inline 3)none 4) rightarrow_forwardHow 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")arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage LearningProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L