close
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
span{
color: darkRed;
}
</style>
</head>
<body>
<h2>document.title:<span id="documentTitle"></span></h2>
<h2>document.URL:<span id="documentURL"></span></h2>
<h2>document.lastModified:<span id="documentLastModified"></span></h2>
<script type="text/javascript">
document.getElementById('documentTitle').innerHTML=document.title;
document.getElementById('documentURL').innerHTML=document.URL;
document.getElementById('documentLastModified').innerHTML=document.lastModified;
</script>
</body>
</html>
全站熱搜