Write the whole HTML page from the DOCTYPE declaration to the closing HTML tag and code a web form that include the following requirements:
Write the whole HTML page from the DOCTYPE declaration to the closing HTML tag and code a web form that include the following requirements:
Chapter13: Handling Events
Section: Chapter Questions
Problem 6RQ
Related questions
Question
Write the whole HTML page from the DOCTYPE declaration to the closing HTML tag and code a web form that include the following requirements:
- Three inputs: First name, Last name, Email with appropriate labels and placeholder text;
- A drop-down list containing the following options: Student, Faculty;
- Two radio buttons containing the following options: Full-time, Part-time;
- Controls labeled "Send Registration" and "Clear All Fields". When the Send Registration control is clicked on, the user input will be sent to https://learndigital.dev/DGL103/dgl103-form.php for processing. When Clear All Fields is clicked, any data that was entered into the form is cleared.
- Make sure that all the data is sent securely.
Add internal CSS (and extra HTML if you need to) so that your page looks like the image below. DON'T include more CSS than you need to:
- The form is 400px wide;
- The form is centred on the page and has a top margin of 40px;
- The text, email and select type inputs take up 100% of their parent element's width using the border-box box-sizing value;
- Margin and padding are applied to the inputs as needed;
- The radio buttons only take up as much width as they need and they side-by-side their labels;
- The "Send Registration" and "Clear All Fields" controls only take up as much width as they need and they sit side-by-side, at opposite ends of the form;
- Use flexbox where you can.
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 4 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
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,