Un esempio... migliorabile....
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<script language="JavaScript" type="text/javascript">
<!--
function colora(td) {
td.style.backgroundColor = 'red';
td.style.fontWeight = 'bold';
}
function scolora(td) {
td.style.backgroundColor = 'white';
td.style.fontWeight = 'normal';
}
//-->
</script>
<table summary="">
<tr>
<td onmouseover="colora(this)" onmouseout="scolora(this)">sdjnqs sndkqsd sdoksqop</td>
</tr>
</table>
</body>
</html>