top of page
Search
Writer's picturelinuxtech

how to make a simple registration form using HTML.


source code:

<Html>

<Html>

<head>

<title>

Registration Page

</title>

</head>

<body bgcolor="skyblue">

<br>

<br>

<form>


<label> Firstname </label>      

<input type="text" name="firstname" size="15"/> <br> <br>

<label> Middlename: </label>  

<input type="text" name="middlename" size="15"/> <br> <br>

<label> Lastname: </label>      

<input type="text" name="lastname" size="15"/> <br> <br>


<label>

Course :

</label>

<select>

<option value="Course">Course</option>

<option value="computer engineering">computer engineering</option>

<option value="B.Tech">B.Tech</option>

<option value="MBA">MBA</option>

<option value="MCA">MCA</option>

<option value="M.Tech">M.Tech</option>

</select>


<br>

<br>

<label>

Gender :

</label><br>

<input type="radio" name="male"/> Male <br>

<input type="radio" name="female"/> Female <br>

<input type="radio" name="other"/> Other

<br>

<br>


<label>

Phone :

</label>

<input type="text" name="country code" value="+91" size="2"/>

<input type="text" name="phone" size="10"/> <br> <br>

Address

<br>

<textarea cols="80" rows="5" value="address">

<head>

<title>

Registration Page

</title>

</head>

<body bgcolor="Lightskyblue">

<br>

<br>

<form>


<label> Firstname </label>      

<input type="text" name="firstname" size="15"/> <br> <br>

<label> Middlename: </label>  

<input type="text" name="middlename" size="15"/> <br> <br>

<label> Lastname: </label>      

<input type="text" name="lastname" size="15"/> <br> <br>


<label>

Course :

</label>

<select>

<option value="Course">Course</option>

<option value="BCA">BCA</option>

<option value="BBA">BBA</option>

<option value="B.Tech">B.Tech</option>

<option value="MBA">MBA</option>

<option value="MCA">MCA</option>

<option value="M.Tech">M.Tech</option>

</select>


<br>

<br>

<label>

Gender :

</label><br>

<input type="radio" name="male"/> Male <br>

<input type="radio" name="female"/> Female <br>

<input type="radio" name="other"/> Other

<br>

<br>


<label>

Phone :

</label>

<input type="text" name="country code" value="+91" size="2"/>

<input type="text" name="phone" size="10"/> <br> <br>

Address

<br>


12 views0 comments

Recent Posts

See All

HOw to make a simple login form using HTML.

source code: <html> <head> <title>Login Page</title> </head> <body> <form name="loginForm" method="post" action="login.php"> <table...

How to make a simple snake game using html

source code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width,...

Comments


bottom of page