Advertisement
Guest User

AS

a guest
Dec 11th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. <html><head><title>Login page: </title></head><body><center><h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;>Login Page</h1><h2 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;>Created By Neta</h2><form name="login"><h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;></h1><h2 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;>User:</h2><input type="text" name="user"/><br><br><h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;></h1><h2 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;>PassWord:</h2><input type="password" name="pass"/><br><h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;></h1><h3 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;>Login</h3><input type="button" onclick="check(this.form)" value="Login"/><br><br><h1 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;></h1><h3 style="font-family:Comic Sans Ms;text-align="center";font-size:20pt;color:#00FF00;>Cancel</h3><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 matching*/ if(form.user.value == "Neta" && form.pass.value == "King") {alert("You login In") } else { alert("Error Password or Username")/*displays error message*/ }}</script></body></html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement