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: 




Comments

Popular posts from this blog

What is a Blogs? How to create account on Blog?

What is JAVASCRIPT?How to make a program using HTML and Java | "Hello World" | Prakhar Doneria

HOW TO ADD PIE CHART IN HTML | PRAKHAR DONERIA