Copie o código do código da seguinte forma:
<!
<html>
<head>
<title> select.html </title>
<meta http-equiv = "palavras-chave" content = "palavra-chave1, palavra-chave2, palavra-chave3">
<meta http-equiv = "description" content = "Esta é a minha página" >>
<meta http-equiv = "content-type" content = "text/html; charset = utf-8">
<!-<link rel = "stylesheet" type = "text/ css" href = "./ styles.css">->
</head>
<Body>
<select id = "myCourse" onchange = "getCourse ();">
<opção value = "" selecione>- Selecione um curso- </pption>
</leclect>
<textarea id = "myares" linhas = "10" cols = "30"> </sexttarea>
<script type = "text/javascript" type = "text/javascript">
<!-
var last_select_num = 3;
// Adicione dinamicamente o primeiro curso
var myoption = document.createElement ("option");
myoption.value = "java";
myopting.text = "java";
myCourse.Add (mioption);
// Adicione dinamicamente o segundo curso,
myOption = document.createElement ("option");
myOption.value = "Oracle";
myopting.Text = "Oracle";
myCourse.Add (mioption);
// Adicione dinamicamente o terceiro curso,
myOption = document.createElement ("option");
myoption.value = "javaee";
myopting.text = "javaee";
myCourse.Add (mioption);
função getCourt () {{)
myares.value += "Você escolhe:" +myCourse.value +"/r/n";
}
->
</script>
</body>
</html>