Mega Code Archive

 
Categories / JavaScript Tutorial / Document
 

Set the document fgColor (IE)

< html>     <script language="JavaScript">     <!--     document.fgColor="0000ff";     -->     </script>     <body>     The color of all text on this page is blue.     </body>     </html>