Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

HTML Basics: Backgrounds and Colors

Add background color and images to your page and change your text color.


advertisement

ou can make your site more visually interesting by putting color, texture, or images in the background of your page. You can also select colors for text, links, and visited links. These features are all elements you can control and are part of your site's design.

The basic method of setting page-wide background and color values is through attributes in the body tag:



<body background="URL" bgcolor="colorvalue" text="colorvalue" link="colorvalue" vlink="colorvalue">
</body>



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date