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="" 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="">here</a>! </font></td></tr> <tr><td colspan=2><font face="verdana,arial" size=-1>Not member yet? Click <a hr ef="">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. 2010 2:45 pm Ad: Colocation at Phoenix NAP The Code Given is for only beginners in HTML 1.Santhu <html> <title>Login</title> .It checks whether the password and usernames are matching or not 3.Now run your page 10. It's Your friend. 9.N.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.N..You can customize the page by applying 'All Files' from the popupmenu shown at the bottom of notepad before sa ving. Try it.value == "mypswrd") { window.Santhu on Dec 11th.pswrd. Rajeesh.value == "myuserid" && form.just open that file and if the computer ask for script activation press ok.Now you will get a document that has the symbol of internet explorer.html or .just copy the file and paste it in the notepad. 7.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.'target.The code implements a simple login form 2.htm 6.and save it with an extension of .. 8.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. 4.

<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> .