deemanr,
<h1>Java/Css</h1> тоже не на месте
в общем
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Java</title>
<style type="text/css">
body {
background-color: #FFF;
}
h1,h2 {
font-family: Times New Roman, Times, serif;
font-weight: bold;
}
h1 {
font-size: 3cm;
color: #000;
}
h2 {
font-size: 2cm
color: #CCC
}
</style>
</head>
<h1>Java/Css</h1>
<div id="s" ></div>
<form>
<select id="mySelect">
<option value="1989">1989</option>
<option value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
</select>
<input type="button" onclick="var box = document.getElementById('mySelect'); var year = box.options[box.selectedIndex].value;document.getElementById('s').innerHTML=(2010-year);" value="OK">
</form>
<body>
</body>
</html>