Example . To make the background appear BLACK ,text lime , links YELLOW , recently visited links   
                  RED ,and selected link as cyan .
         
             <html>
             <head>
             <title> Attributes of body Tag </title>
             </head>
             <body bgcolor = "black" text = "lime" link = "red" alink = "cyan">
             A sample text
             </body>
             </html>
    
             The output produced by Example  is as shown below. The output will become more clear when you learn to add links also.since there are no links in the above example only background and text color are visible.  

Comments

Popular posts from this blog