<html> <head> <title>DIGITAL CLOCK </title> </head> <body> <TABLE BORDER=4 BGCOLOR=PURPLE> <TR> <TD> <FORM NAME="clock_form"> <INPUT TYPE=TEXT NAME="digitalclock"SIZE=32> </FORM> <SCRIPT LANGUAGE="JavaScript"> function clockTick() { currentTime = new Date(); //displaying the clock and appending current date and time. document.clock_form.digitalclock.value = ""+currentTime; document.clock_form.digitalclock.blur(); SetTimeout("clockTick()",1000); } clockTick();//End of java script functions </SCRIPT> </TD> </TR> </TABLE> </body> </html>