HowTosHTML

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>
Back to top button