HTML codes for creating simple Registration form for your blogs or sites.
Posted by Unknown
on Monday 30 December 2013
0
Learnaxis is now here infront of you to teach some computer languages.We are ready to give the essential elements that you are preferring for your Blog or Sites. Here this post is deals with Html tags that is used for creating a simple registration form.You can just practice these tags with your notepad or xml editors.This will really help the beginners who are interested in Web designing.
so lets try
<html>
<head>
<title>Try it out</title>
<link rel="stylesheet" type="text/css" href="registration.css" />
</head>
<body>
<form name="frmExample" action=register.aspx" method="post">
<fieldset>
<legend>Register with us:</;legend>
<table>
<tr>
<td class="label">
<label for="fname">First name: <span class="required">*</span></label>
</td>
<td class="form">
<input type="text" name="txtFirstname" id="fname" size="12" />
</td>
</tr>
</table>
<br>
<tr>
<td class="label">
<label for="lname">Last name: <span class="required">*</span></label>
</td>
<td class="form">
<input type="text" name="txtLastname" id="lname" size="12" />
</td>
</tr>
<tr>
<td> </td><td> </td>
</tr>
</br>
<br>
<tr>
<td class="label">
<label for="email">Email address:
<span class="required">*</span></label>
</td>
<td class="form">
<input type="password" name="txtEmail" id="email" size="20" />
</td>
</tr>
<tr>
<td> </td><td> </td>
</tr>
</br>
<br>
<tr>
<td class="label">
<label for="pwd">password:
<span class="required">*</span></label>
</td>
<td class="form">
<input type="password" name="txtpassword" id="pwd" size="12" />
<span class="small"> must be between 6 and 12 characters long </span>
</td>
</tr>
</br>
<br>
<tr>
<td class="label">
<label for="pwdconf"> confirm password:
<span class="required">*</span></label>
</td>
<td class="form">
<input type="password" name="txtpasswordconf" id="pwdconf" size="12" />
<span class="small"> must be between 6 and 12 characters long </span>
</td>
</tr>
</br>
<br>
<align="right"><div class="submit"><input type="submit" value="Register" /></div></align>
<span class="required">*</span> = required
</form>
</body>
</html>
So you have created a simple registration form with HTML.If you have any doubt or comments enter with your words in Comment area.
so lets try
<html>
<head>
<title>Try it out</title>
<link rel="stylesheet" type="text/css" href="registration.css" />
</head>
<body>
<form name="frmExample" action=register.aspx" method="post">
<fieldset>
<legend>Register with us:</;legend>
<table>
<tr>
<td class="label">
<label for="fname">First name: <span class="required">*</span></label>
</td>
<td class="form">
<input type="text" name="txtFirstname" id="fname" size="12" />
</td>
</tr>
</table>
<br>
<tr>
<td class="label">
<label for="lname">Last name: <span class="required">*</span></label>
</td>
<td class="form">
<input type="text" name="txtLastname" id="lname" size="12" />
</td>
</tr>
<tr>
<td> </td><td> </td>
</tr>
</br>
<br>
<tr>
<td class="label">
<label for="email">Email address:
<span class="required">*</span></label>
</td>
<td class="form">
<input type="password" name="txtEmail" id="email" size="20" />
</td>
</tr>
<tr>
<td> </td><td> </td>
</tr>
</br>
<br>
<tr>
<td class="label">
<label for="pwd">password:
<span class="required">*</span></label>
</td>
<td class="form">
<input type="password" name="txtpassword" id="pwd" size="12" />
<span class="small"> must be between 6 and 12 characters long </span>
</td>
</tr>
</br>
<br>
<tr>
<td class="label">
<label for="pwdconf"> confirm password:
<span class="required">*</span></label>
</td>
<td class="form">
<input type="password" name="txtpasswordconf" id="pwdconf" size="12" />
<span class="small"> must be between 6 and 12 characters long </span>
</td>
</tr>
</br>
<br>
<align="right"><div class="submit"><input type="submit" value="Register" /></div></align>
<span class="required">*</span> = required
</form>
</body>
</html>
So you have created a simple registration form with HTML.If you have any doubt or comments enter with your words in Comment area.
About the Author
learn axis
Get Updates
Subscribe to our e-mail newsletter to receive updates.
Share This Post
Related posts
0 comments: