■オブジェクトを新規に作成したい


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>オブジェクトを新規に作成したい</title>
</head>
<body>
<p>■オブジェクトを新規に作成したい</p>
<p>
<script type="text/JavaScript">
<!--
now = new Date();
document.write("日付は "+now.getFullYear()+"年 "+(now.getMonth()+1)+"月 "+now.getDate()+"日です。<br>");
document.write("時間は "+now.getHours()+"時 "+now.getMinutes()+"分 "+now.getSeconds()+"秒です。");
// -->
</script>
</p>
</body>
</html>