User:Shwetha033/sandbox

A Gmail sign up page in java script in XHTML DOCUMENT

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 gmail id page  <![CDATA[ function chkpass { var p=document.getElementById("pass").value; if(p.length<8) { document.getElementById("info").style.color="red"; document.getElementById("info").innerHTML="too short"; } } function cnfpass { var p=document.getElementById("pass").value; var p1=document.getElementById("cpass").value; if(p!=p1) alert("password not matching"); }

function dayvalid { alert("enter day between 1 and 31"); }

function chkyear { var p=document.getElementById("year").value; var pos= p.search(/[1-2][0 || 9]\d\d/); if(pos<0) alert("pls enter year in form of 1999"); } ]]>  Gmail Name Password  Confirm Password  Birthday DayMonth January February March April May June July August September October November December Year

Gender Male Female

Hobbbies Cricket Badminton Reading <input type="checkbox" value="singing" />Singing