148k views
11 votes
Create an online order form for a car rental store and include the following items: input text box to enter the number of days input text box to enter the vehicle type (car, suv, ...) input text box to enter the number of designated drivers submit button to send form data to a server Note: the submit button is just to create a complete form. You do not have to define form action attribute for this assignment. Submit: HTML file and any other images and/or style sheets used to complete the design.

User Inertia
by
7.0k points

1 Answer

7 votes

Answer:

Step-by-step explanation:

The following is the barebones HTML code for the form which can be saved as is or implemented into your own site. No styling or images were added since that is done based on the overall styling of the website in which the code is being implemented.

<!DOCTYPE html>

<html>

<body>

<h2>Car Rental Store</h2>

<form action="/action_page.php">

<label for="fname">Number of Days:</label><br>

<input type="text" id="fname" name="fname" value="Ex. 20"><br><br>

<label for="lname">Vehicle Type:</label><br>

<input type="text" id="lname" name="lname" value="Ex. SUV"><br><br>

<label for="lname">Number of Designated Drivers:</label><br>

<input type="text" id="lname" name="lname" value="Ex. 2"><br><br>

<input type="submit" value="Submit">

</form>

</body>

</html>

User Dan Atkinson
by
8.0k points