Based on the following specifications, construct the HTML code to generate the form design as shown in Figure 2. Specification: • Set the form id and name attribute as "cakeOrder" and the method attribute as "post". • • • The "Cake Type" field is a selection list which consists of 3 options: Black Forest, Lemon Cheese and Chocolate Mousse. Set the width of the "Quantity" input box to 3 characters. When the user clicks on the "Add To Cart" button, the user will be automatically directed to the confirmation.html web page. The "Add To Cart" button is a submit button. -Cake Order Form Cake Type: Black Forest Size: 1kg 2kg Quantity: Add To Cart Figure 2: Form
Based on the following specifications, construct the HTML code to generate the form design as shown in Figure 2. Specification: • Set the form id and name attribute as "cakeOrder" and the method attribute as "post". • • • The "Cake Type" field is a selection list which consists of 3 options: Black Forest, Lemon Cheese and Chocolate Mousse. Set the width of the "Quantity" input box to 3 characters. When the user clicks on the "Add To Cart" button, the user will be automatically directed to the confirmation.html web page. The "Add To Cart" button is a submit button. -Cake Order Form Cake Type: Black Forest Size: 1kg 2kg Quantity: Add To Cart Figure 2: Form
New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter7: Designing A Web Form: Creating A Survey Form
Section: Chapter Questions
Problem 5CP2
Related questions
Question
Attach output with code compilation else dislike 234D5.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning