Code For Registration Page
Code For Registration Page
Code For Registration Page
<html>
<head>
<meta charset="utf-8">
<title>Best Login Page design in html and css</title>
<style type="text/css">
body {
background-color: #f4f4f4;
color: #5a5656;
font-family: 'Open Sans', Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 1.5em;
}
a { text-decoration: none; }
h1 { font-size: 1em; }
h1, p {
margin-bottom: 0px;
}
strong {
font-weight: bold;
}
.uppercase { text-transform: uppercase; }
</style>
<SCRIPT type="text/javascript">
function validatePhNum(thisform)
{
var ph=thisform.phnum.value;
if(ph==null||ph=="")
{
alert("enter phone number")
thisform.phnum.focus();
return false;
}
if(ph.length<10)
{
alert("phone number must have atleast 10 digits");
thisform.phnum.focus();
return false;
}
if(isNaN(ph))
{
alert("invalid phone number");
thisform.phnum.focus();
return false;
}
return true;
function validateEmail(thisform)
{
var txtEmail=thisform.email.value;
var illegalChars=/[\(\)\<\>\,\;\:\\\/\"\[\]]/;
var n1=txtEmail.indexof("@");
var n2=txtEmail.lastIndexof(".");
if(txtEmail=="")
{
alert("enter email address");
thisform.email.focus();
return false;
}
if(txtEmail.match(illegalChars))
{
alert("invalid email address");
thisform.email.focus();
return false;
}
if(n1<1 || n2-n1<2)
{
alert("invalid email address");
thisform.email.focus();
return false;
}
return true;
}
function validateUrPw(thisform)
{
var userName=thisform.uname.value;
var pass1=thisform.pw1.value;
var pass2=thisform.pw2.value;
if(userName=="")
{
alert("Please enter user name");
thisform.uname.focus();
return false;
}
if(userName.length<6)
{
alert("username must be atleast six characters");
thisform.uname.focus();
return false;
}
if(pass1=="")
{
alert("please enter the password");
thisform.pw1.focus();
return false;
}
if(pass1.length<8)
{
alert("password must contain atleast 8 digit");
thisform.pw1.focus();
return false;
}
if(pass2=="")
{
alert("please enter the password");
thisform.pw2.focus();
return false;
}
if(pass2.length<8)
{
alert("password must contain atleast 8 digit");
thisform.pw2.focus();
return false;
}
function MathThing()
{
firstnumber = prompt("Enter Quantity.", "");
secondnumber = prompt("Enter Price.", "");
total = firstnumber * secondnumber;
alert(firstnumber + " * " + secondnumber + " = " + total);
}
</SCRIPT>
</head>
<body>
<div id="login"><img src="paay.jpg" style="width:100px;height:100px;">
<h1><strong>Welcome.</strong></h1>
<h1>REGISTRATION FORM</h1>
<div id="login">
<form action="login.html">
<fieldset><legend>DETAILS</legend>
<p class="one">First Name:<input type="text" placeholder="eg:Kartik" name="firstname"></p><br>
Last Name:<input type="text" name="lastname" placeholder="eg=Jadhav"><br>
<br>
<div id="login">
PAYMENT PAGE :
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Simple Payment Form </title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-4">
</div>
</div>
</div>
</body>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.13.1/jquery.validate.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery.payment/1.2.3/jquery.payment.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>
NEXT PAGE:
<html>
<body><img src="paay.jpg" style="width:100px;height:100px;"><p><big><b>Make a Donation to
VESIT</b></big><br />
Fill out the form and send us a few dollars for your favourite tutorial:</p>
</form>
</body>
</html>