You are on page 1of 3

<font face="verdana,arial" size=-1> <center><table cellpadding='2' cellspacing='0' border='0' id='ap_table'> <tr><td bgcolor="blue"><table cellpadding='0' cellspacing='0' border='0' width=' 100%'><tr><td

bgcolor="blue" align=center style="padding:2;padding-bottom:4"><b> <font size=-1 color="white" face="verdana,arial"><b>Enter your login and passwor d</b></font></th></tr> <tr><td bgcolor="white" style="padding:5"><br> <form method="post" action="http://www.authpro.com/auth/deluxe/" name="aform" ta rget="_top"> <input type="hidden" name="action" value="login"> <input type="hidden" name="hide" value=""> <center><table> <tr><td><font face="verdana,arial" size=-1>Login:</font></td><td><input type="te xt" name="login"></td></tr> <tr><td><font face="verdana,arial" size=-1>Password:</font></td><td><input type= "password" name="password"></td></tr> <tr><td><font face="verdana,arial" size=-1>&nbsp;</font></td><td><font face="ver dana,arial" size=-1><input type="submit" value="Enter"></font></td></tr> <tr><td colspan=2><font face="verdana,arial" size=-1>&nbsp;</font></td></tr> <tr><td colspan=2><font face="verdana,arial" size=-1>Lost your username or passw ord? Find it <a href="http://www.authpro.com/auth/deluxe/?action=lost">here</a>! </font></td></tr> <tr><td colspan=2><font face="verdana,arial" size=-1>Not member yet? Click <a hr ef="http://www.authpro.com/auth/deluxe/?action=reg">here</a> to register.</font> </td></tr> </table></center> </form> </td></tr></table></td></tr></table>

<html> <p> Enter Username and Password </p> <FORM action="file:///android_asset/www/Browse.html" method="post"> <P> <LABEL for="firstname">Username </LABEL> <INPUT type="text" id="Username"><BR> <LABEL for="lastname">Password </LABEL> <INPUT type="text" id="Password"><BR> <INPUT type="submit" value="Send"> <INPUT type="reset"> </P> </FORM> </html>

<html> <head> <title> Login page </title> </head> <body> <h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt; color:#00FF00;>

Simple Login Page </h1> <form name="login"> Username<input type="text" name="userid"/> Password<input type="password" name="pswrd"/> <input type="button" onclick="check(this.form)" value="Login"/> <input type="reset" value="Cancel"/> </form> <script language="javascript"> function check(form)/*function to check userid & password*/ { /*the following code checkes whether the entered userid and password are mat ching*/ if(form.userid.value == "myuserid" && form.pswrd.value == "mypswrd") { window.open('target.html')/*opens the target page while Id & password matche s*/ } else { alert("Error Password or Username")/*displays error message*/ } } </script> </body> </html>

A Simple HTML Login page using JavaScript 0 By Rajeesh.N.Santhu on Dec 11th, 2010 2:45 pm Ad: Colocation at Phoenix NAP The Code Given is for only beginners in HTML 1.The code implements a simple login form 2.It checks whether the password and usernames are matching or not 3.While you are using replace the predefined username and password that I'v give n that is replace "myuserid" and "mypswrd" with your own userid and password. 4.just copy the file and paste it in the notepad. 5.and save it with an extension of .html or .htm 6.select 'All Files' from the popupmenu shown at the bottom of notepad before sa ving. 7.Now you will get a document that has the symbol of internet explorer. 8.just open that file and if the computer ask for script activation press ok. 9.Now run your page 10.You can customize the page by applying CSS. Try it.... It's Your friend,,, Rajeesh.N.Santhu

<html> <title>Login</title>

<body> <form name="MY Form"action="Login"> userid<input type="text"name="text1"> <br>password<input typy="password" name="text2"> <br> <input type="submit"name="button1"value="login"> </form> </body> </html>

You might also like