HTML Basic Form

<!DOCTYPE html>
<html>
<head>
<title>Sample HTML Form</title>
</head>
<body>

<h2>Registration Form</h2>

<form action=”/submit_form” method=”post”>
<label for=”fname”>First Name:</label><br>
<input type=”text” id=”fname” name=”fname”><br>

<label for=”lname”>Last Name:</label><br>
<input type=”text” id=”lname” name=”lname”><br>

<label for=”email”>Email:</label><br>
<input type=”email” id=”email” name=”email”><br>

<label for=”birthdate”>Birth Date:</label><br>
<input type=”date” id=”birthdate” name=”birthdate”><br>

<input type=”submit” value=”Submit”>
</form>

</body>
</html>




Output :

Registration Form






 

Share on :

Recent Post

© 2024 All rights reserved by Go1digital.com