Copy code code as follows:
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv = "content-type" content = "text /html; charset = utf-8" /> />
<Title> Non -Title Document </Title>
<script language = "javascript">
var t = null;
t = settimeout (time, 1000); // Start execution
Function time ()
{{
Cleartimeout (t); // Clear timer
dt = new date ();
var h = dt.gethouse ();
varm = dt.getminutes ();
var s = dt.getSeconds ();
document.GetelementByid ("Timeshow"). Innerhtml = "The current time is:"+h+","+m+"points"+s+"seconds";
t = SettimeOut (Time, 1000); // Set the timer and circulate
}
</script>
</head>
<body>
<label id = "timeShow"> </last
</body>
</html>