Leakbali
w3 Tutorial, Web Tutorial
Register   Login
Share

Background Color 


The background-color property defines the background color for an element:

Example:

<html>

<body style="background-color:yellow">
<h2 style="background-color:red">This is a heading</h2>
<p style="background-color:green">This is a paragraph.</p>
</body>

</html>
The style attribute makes the "old" bgcolor attribute obsolete.
More Tutorial
  1. HTML - Styles
  2. HTML - The HTML Style Attribute
  3. HTML - Deprecated Tags and Attributes
  4. HTML - Background Color
  5. HTML - Font, Color and Size
  6. HTML - Text Alignment

References

About Us

Home
About Us
Contact Us
Sitemap

Tools

Google PageRank
Alexa Rank
Keywords Density

Accounts

Register Account
Login
Valid XHTML 1.0 TransitionalValid CSS!
Web Directory


2006 - 2012 © Leakbali.com - Free Web Tutorial, Free Web Articles, Web Sharing, Source Codes, Web References