Jump to content
xisto Community
Uzumaki-Naruto

Html Background Tutorial

Recommended Posts

Back grounds are very essential in html and if you dont know how you can make a background on your website then there is no use of creating one . First well start with the basics .

 

Color Background :

 

If you want to change your backgrounds color you put this code in the body of the page :

 

<BODY BGCOLOR="######">

Where the ###### are you have to put a color code . Just put that in and save your page and thats done .

 

Image Backgrounds :

 

The code below takes an image and puts it on the background on the page :

 

<BODY BGCOLOR="#FFFFFF" BACKGROUND="image.gif">

Thats all but if you have any questions at all about backgrounds ask them here and ill answer you .

 

Made By Uzumaki-Naruto

 

HeHe First tutorial ever :)

Share this post


Link to post
Share on other sites

Indeed this is too short a tutorial. But in the spirit of turning lemon into lemonade, let's try to add a couple more tidbits of information, hoping things will improve a tad.

 

So let's see. Personally, I don't think that the BACKGROUND properties play the same quintessential role they used to play in the old days. Yes, I know they were the buzz only 3 years ago, but on the Net, those are eons. But still, any Web designer worth the title must know at least the basics of controlling background properties.

 

Uzumaki tackled this subject from a point of view of HTML. That's not necessarily a bad thing. But in HTML 4.01, the last version of HTML in general, the use of background attributes in the <body> tag is deprecated; which means that the W3C strongly urges designers to dump it. By the way, if expressions like "attribute," "tag," or "W3C" seem vague and confusing, then I have to assume you're new to Web design in general, and in that case, I'd recommend you can straight to...

 

http://www.w3schools.com/

 

There you'll find a very adequate amount of HTML tutorials for beginners.

 

Anyway, as I was saying, Uzumaki opted to deal with background properties using HTML 4.01, but the W3C recommended leaving ALL background formatting to CSS. Not only does this separate structure from presentation and enhance standardization, but CSS also offers a couple of very impressive properties to control backgrounds to a great extent. I'd give you details and examples in here, but I think it might be a waste of time and space, since the subject has already been thoroughly covered by people who are better writers than I am. So why don't I just point you to the CSS Background section at the W3SCHOOLS.COM, which is a rather short, yet to the point piece covering all you can do to backgrounds in CSS. Here's the link...

 

http://www.w3schools.com/css/css_background.asp

 

I hope this was helpful, even if just a little bit. All the best! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.