HTML
|
JavaScript
Alignment
Basics
Character Codes
Colors
CSS
DIVS
Forms
Frames
Links
Lists and Bullets
Meta Tags
Multimedia
Pictures
Spacing
Tables
Text
Background Color
Color Codes
Table Color
Text Color
Background Color
219
Background Color
Description
The give your background a color, you will need to add the tag BGCOLOR="#xxxxxx". This tag is added into the <BODY> tag, so the final result looks like
<body bgcolor="#xxxxxx">
The text, xxxxxx, is replaced with the color code of your choice. Here is an example of the background color.
Code
<body bgcolor="#ff0000">
Cool Background Color
</body>
Output
Cool Background Color
Practice
<body bgcolor="#ff0000"> Cool Background Color </body>
Advertisements