優等生版
<html lang="ja-JP">
<head>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META http-equiv="Content-Script-Type" content="text/javascript">
<title>JavaScript:雛形</title>
<script type="text/javascript" language="JavaScript">
function $(id){ return document.getElementById(id); }
</script>
</head>
<body>
<div id="disp"></div>
</body>
</html>
不良版
<html>
<head>
<script>
function $(id){ return document.getElementById(id); }
</script>
</head>
<body>
<div id="disp"></div>
</body>
</html>