I have put this code together from a tuition site, but I cannot get it to work.
Some of the instructions were ambiguous so I may have done it wrong.(the story of my life.)

Any help gratefully received.
Frank alias effpeetee.
Code:
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script type="text/javascript">
function clock(){
var time = new Date()
var hr = time.getHours()
var min = time.getMinutes()
var sec = time.getSeconds()
if(hr < 10){
hr = " " + hr
}
if(min < 10){
min = "0" + min
}
if(sec < 10){
sec = "0" + sec
}
document.clock.digits.value = hr + ":" + min + ":" + sec
setTimeout("clock()", 1000)
}
</script>
</head>
<body >
<script type="text/javascript>
onLoad = "clock()"
</script>
<FORM name="clock">
<FONT face="Courier New,Courier" size=4>
<INPUT type="text" name="digits"
size=8 maxlength=8 value="Loading">
</FONT>
</FORM>
</body>
</html>