复制代码代码如下::
<! DocType html public "-// w3c // dtd xhtml 1.0 transitional // en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transsitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<kopf>
<meta http-äquiv = "content-type" content = "text /html; charset = utf-8" />
<title> 无标题文档 </title>
<script type = "text/javaScript">
// 页面上动态时间
Funktionszeit () {
var dt;
var date = new Date ();
dt = date.getingfullyear ()
+ "/"
+ Date.getMonth ()
+ "/"
+ Date.getDate ()
+ "" "
+ (Datum.Gethours () <= 9? '0' + Datum.Gethours (): Datum
.Gethoors ())
+ ":"
+ ((Datum.getminutes () <= 9? '0' + Datum.getminutes (): Datum
.GetMinutes ()))
+ ":"
+ (Datum.getSeconds () <= 9? '0' + Datum.getSeconds (): Datum
.GetSeconds ());
//document.getElementById("ht").innerhtml=dt;
Rückkehr DT;
}
setInterval ("document.getElementById ('ht'). Innerhtml = time ()", 1000);
</script>
</head>
<body>
<span id = "ht"> </span>
</body>
</html>