Web Programming and computer Blog
Latest news

Main Menu

Html Tags List
Meta Tags
Headings
Backgrounds
Inserting text
Text Manipulation
Linking
Images
Tables
Forms
Color Chart
Frames
Example Web Pages
Contactus


Backgrounds

Background is defined inside the <BODY> tag, by using different attributes. There are two methods of defining a background:

 

● Background as a color:

To define a background color, you must use “bgcolor” attribute. The color value can be hexadecimal number, an RGB value, or a color name.

 

<body bgcolor=”#FFFFFF”>   hexadecimal number

<body bgcolor=”white”>    color name

<body bgcolor=”rgb(0,0,0)”>   RGB value

 


 

Background as an image:

To define a background image, you must use “background” attribute. The image’s address can be a URL address or a server path.

 

<body background="http://htmlhelps.net/images/grass.gif">  <body background="images/grass.gif">

 

Ads

Html Help
Daily Pages that Suck

03/23/2006 01:01 PM
WebsiteTips.com Relaunch!
I've been buried the last five months quietly working hard on a major redesign and restructuring of WebsiteTips.com. I'm now excited to announce that the all new WebsiteTips.com is now online. Read the complete post to learn all about it! (426 words, 11 links, 2 images)
11/07/2005 08:23 AM
What Exactly is Web 2.0?
Many of you have probably seen references to "Web 2.0" around the 'Net. Tim O'Reilly has taken on writing about what this term means in his recent article, What Is Web 2.0, Design Patterns and Business Models for the Next Generation of Software. It's not just a boring article defining the term or written so that only programmers would understand it, though. Tim's new article overviews how the Internet arrived where it is today, comparing the past with comparables today in a way that even a non-programmer like myself can understand. Today's post provides an overview of this fascinating new article. (389 words, 3 links)

© 2005 Htmlhelps.net, Inc. All rights reserved. Terms of Use and Disclaimer