Body text Color : Color : Style Layout JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Style Layout » Color »

 

Body text Color



    
<html>
<head>
<script language="JavaScript">
    function function1() {
        document.all.myBody.text = "blue";
    }
</script>
</head>
<body id="myBody">
Some text
<input type="button" value="Change to blue" onClick="function1();">
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Style Layout
» Color