Computer Science, asked by atharvkudale27, 1 month ago

Q2. Design an HTML form to take the information of a customer for booking a travel plan
consisting of fields such as name, address, contact no.. gender, preferred season(Checkboxes).
location type to be selected from a listi etc. You should provide button to submit as well as
reset the fom contents. (All the fields should be properly aligned)

Answers

Answered by krishnazarekar72
6

Explanation:

<html>

<body>

<form>

<h1>Customer Registration</h1>

<table border=1>

<tr>

<td>Name </td>

<td><input type="text" size="20">

<tr>

<td>Contact no </td>

<td><input type="text" size="20">

</tr>

<tr>

<td>Gender</td>

<td><input type="radio" size="20">male

<input type="radio" size="20">female</td>

<tr>

<td>days of purchasing</td> <td><input type="text" size="20">

</tr>

<tr>

<td>favorite item</td>

<td><select name="example"> <option value="item1">Item 1

<option value="item2">Item 2 <option value="item3">Item 3 </select>

<tr>

<td>Suggestion</td>

<td><textarea rows="4" cols="50">

</textarea

<tr>

<td><input type="reset" value="Reset"> </td>

<td><input type="submit"

value="Submit"></td>

</tr>

Similar questions