This is an ad.
 
Webmonkey Kids
Webmonkey Kids
Lessons
Projects
Playground
Tools

Background Color
icon Background Images
Font Color
Font Size
Headlines



Parents and Teachers:
Find out how your kids can use Webmonkey for Kids as a learning tool at home or in the classroom with our Planning Guide.

Send us feedback

Lesson D: Changing Your Page
Background Color


<body bgcolor="?"> sets the background color

Why make your Web page on a boring white background when there's a world of color out there? You can choose a page's background color inside the <body> tag at the beginning of your document. So, if you write this in your HTML document:

<body bgcolor=yellow>

... your background will be yellow.

Not every color name will work, but a lot will. For a more complete list, take a look at our Color Codes section.

Next Page