<span style="color: red">text</span>
z tego co sie orientuje to ponizszy kod mi nie pomoze:
<script> ... document.style.color = "green"; ... </script>
<span style="color: red">text</span>
<script> ... document.style.color = "green"; ... </script>
<span style="color: red" onmouseover="this.style.color = 'green';" onmouseout="this.style.color = 'red';">text</span>
<span style="background-color: red;" onmouseover="this.style.backgroundColor = 'green';" onmouseout="this.style.backgroundColor = 'red';">text</span>
<html> <head> <meta http-equiv="Content-type" content="text/html; charset=iso-8859-2"> <style type="text/css"> .out{color:red;} .over{color:blue;} </style> </head> <body> <span class="out" onmouseover="this.className = 'over';" onmouseout="this.className = 'out';">text</span> </body></html>