<!DOCTYPE html>
<html>
<head>
<Example of Form tag>
</head>
<body bgcolor="lightyellow">
Registration Form
<Form>
<Table>
<Tr>
<Td>First Name<br>
<input type="text"></input>
</Td>
<Td>Last Name<br>
<input type="text"></input>
</Td>
</Tr>
<Tr>
<Td>Birthday<br>
<input type="date"></input>
</Td>
<Td>Gender<br>
<Input type= "radio" name="x">Male </input>
<Input type= "radio" name="x">Female </input>
</Td>
</tr>
<Tr>
<Td>E-mail<br>
<Input type= "text"></input
</Td>
<Td>Phone number<br>
<Input type= "text"></input
</td>
</tr>
<Tr>
<Td colspan="2">Subject<br>
<Select><option>Choose option</option>
<option>Hindi</option>
<option>English</option>
<option>Urdu</option>
</Select>
</td>
</tr>
<Tr>
<Td Colspan="2">
<Input type="button" Value="Submit"></input>
</td>
</Tr>
</Table>
</body>
</html>
<html>
<head>
<Example of Form tag>
</head>
<body bgcolor="lightyellow">
Registration Form
<Form>
<Table>
<Tr>
<Td>First Name<br>
<input type="text"></input>
</Td>
<Td>Last Name<br>
<input type="text"></input>
</Td>
</Tr>
<Tr>
<Td>Birthday<br>
<input type="date"></input>
</Td>
<Td>Gender<br>
<Input type= "radio" name="x">Male </input>
<Input type= "radio" name="x">Female </input>
</Td>
</tr>
<Tr>
<Td>E-mail<br>
<Input type= "text"></input
</Td>
<Td>Phone number<br>
<Input type= "text"></input
</td>
</tr>
<Tr>
<Td colspan="2">Subject<br>
<Select><option>Choose option</option>
<option>Hindi</option>
<option>English</option>
<option>Urdu</option>
</Select>
</td>
</tr>
<Tr>
<Td Colspan="2">
<Input type="button" Value="Submit"></input>
</td>
</Tr>
</Table>
</body>
</html>
Good work
ReplyDelete