Programs in HTML

5. Program to create a simple form.
<title>Registration Form</title>

<h3>Registration Form</h3>
<form action="" method="get">
Name <input type="text" name="uname"><br>
Sex <input type="radio" name="m"> M <input type="radio" name="f"> F<br>
Date of Birth <input type="text" name="dob"><br>
Ph.No. <input type="text" name="phno"><br>
<input type="submit" value="Register">

Output :

Registration Form

Sex M F
Date of Birth

Father of HTML and World Wide Web

Tim Berners Lee

Tim Berners Lee

Born: June 8, 1955, London