Using Color Attributes: how document colors can be changed
<HTML>
<HEAD>
<TITLE>Changing Colors</TITLE>
<SCRIPT LANGUAGE="JavaScript"><!--
document.fgColor="white"
document.linkColor="yellow"
// --></SCRIPT>
</HEAD>
<BODY>
<H1>Changing Colors</H1>
<P>Here is a <A HREF="nowhere">sample link</A>.</P>
<SCRIPT LANGUAGE="JavaScript"><!--
document.bgColor="black"
// --></SCRIPT>
</BODY>
</HTML>
Related examples in the same category