Hi there paldo,
there is no need to use javascript.
Try it like this...
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="english">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
.correct:hover {
color:#008000;
cursor:pointer;
}
</style>
</head>
<body>
<h4>Question 1: how much is 2+3?</h4>
<p>a) the correct answer is 6</p>
<p class="correct">b) the correct answer is 5</p>
<p>c) the correct answer is 4</p>
</body>
</html>
coothead
Bookmarks