HowTos Web Development

HTML Form for the Registration (Easy Way)

We have already published tutorials for tables and HTML forms. You can directly check on the HTML tutorial category.

Here you can experience the form to ask users to register for the data you are looking for.

<html>

<head>

    <title>User registration form</title>

</head>

<body>

<h1>User Registration Form</h1>

<form>

<table>

<tr>

<td>Title</td>

<td>

    <select name="items" size="1">

        <option value="Mr">Mr.

        <option value="Mrs">Mrs.

    </select>

</td>

</tr>

<tr>

<td>first Name</td>

<td><input type="text" name="fname"></td>

</tr>

<tr>

<td>Last Name</td>

<td><input type="text" name="Lname"></td>

</tr>

<tr>

<td>Gender</td>

<td><input type="radio"name="gen" value="male">male

    <input type="radio"name="gen" value="male">female

</td>

</tr>  

<tr>

<td>Address</td>

<td><input type="text" name="addre"></td>

</tr>

<tr>

<td>City</td>

<td><input type="text" name="city"></td>

</tr>

<tr>

<td>Country</td>

<td>

    <select name="items" size="1">

        <option value="Nepal">Nepal

        <option value="India">India

        <option value="Pakistan">Pakistan

        <option value="Japan">Japan

    </select>

</td>

</tr>

<tr>

<td>Email Address</td>

<td><input type="text" name="email" ></td>

</tr>

<tr>

<td>phone</td>

<td><input type="text" name="phonum"></td>

</tr>

<tr>

<td>fax</td>

<td><input type="text" name="faxno"></td>

</tr>

<tr>

<td>comments</td>

<td><textarea rows="5"></textarea></td>

</tr>

<tr>

<td><input type="submit" name="submited" value="submit"></td>

<td><input type="reset" name="resettt" value="reset"></td>

</tr>

</table>

</form>

</body>

</html>

Tuts

About Author

Tutsmaster.org provides tutorials related to tech and programmings. We are also setting up a community for the users and students.

You may also like

Create a Website Using HTML on Notepad
HowTos

How to Create a Website Using HTML on Notepad

  • October 13, 2019
Write a code for creating a website using HTML or HTML5? This basic build block concept is required for web
HTML introduction
Web Development

HTML – Introduction, History & Syntax

  • December 21, 2019
So, first of all, I would like to ask a question for the first time when you heard this term