How to create form in HTML 5
Write the following codes:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Form By Prakhar</title>
</head>
<body bgcolor="lightgreen"><form>
<p>Enter Name<input type="text" Name=
"username" Size=30><br><br>
<p> Gender </p>
<INPUT type= "Radio"Name= "Gender" Value= "Male" checked>
Male <br><br>
<INPUT type= "Radio"Name= "Gender" Value= "Female" Checked> Female
<p>City</p>
<Select Name= "Cities">
<OPTION Selected> Etawah</option>
<option> Luchnow</option>
<option>Delhi</option>
</form>
</body>
</html>
Output:
Also read:Calculator by HTML
Comments
Post a Comment