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: O 1kg O 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: O 1kg O 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 5CP4
Related questions
Question
Please construct the HTML code to generate the form design
as shown in Figure 2.
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 1 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
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage