<!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Head><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /><title>Untitled Document</title><Scripttype= "Text/javascript">functionCheck () {varname2=document.formname.name1; varPassword2=Document.formname.password1; if(Name2.value=="") {alert ("user name cannot be empty"); Name2.focus (); return false; } if(Password2.value=="") {alert ("The password cannot be empty") Password2.focus (); return false; }}</Script></Head><Body><formAction= "Jump after 5 seconds. html"name= "FormName"Method= "Get"onsubmit= "return check ()">User name:<inputtype= "text"name= "Name1" /><BR/>Password:<inputtype= "Password"name= "Password1" /><BR/><inputtype= "Submit"name= "Submit 1"value= "Submit" /></form></Body></HTML>